42 lines
1.2 KiB
Java
42 lines
1.2 KiB
Java
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);
|
||
}
|