Files
xgy-oa/klp-pocket/src/main/java/com/klp/pocket/service/IKlptcm1ProPlantStateDefineService.java

42 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.pocket.service;
import com.klp.common.core.domain.PageQuery;
import com.klp.common.core.page.TableDataInfo;
import com.klp.pocket.domain.Klptcm1ProPlantStateDefine;
import com.klp.pocket.domain.vo.PlantStateWithValueVo;
import java.math.BigDecimal;
import java.util.List;
/**
* 工厂状态定义表Service接口
* 封装业务逻辑,对外提供数据操作能力
*/
public interface IKlptcm1ProPlantStateDefineService {
/**
* 分页查询状态定义
* @param pageQuery 分页查询参数(含页码、每页条数)
* @return 分页表格数据符合前端TableDataInfo格式
*/
TableDataInfo<Klptcm1ProPlantStateDefine> getDefinePage(PageQuery pageQuery);
List<PlantStateWithValueVo> selectByValue(String name);
/**
* 获取所有定义及其当前值
* @return 所有定义列表,每个定义包含对应的当前值
*/
List<PlantStateWithValueVo> selectAllWithValues();
Klptcm1ProPlantStateDefine selectById(BigDecimal id);
int insert(Klptcm1ProPlantStateDefine entity);
int updateById(Klptcm1ProPlantStateDefine entity);
int deleteByIds(List<BigDecimal> ids);
}