2025-10-27 18:07:12 +08:00
|
|
|
|
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;
|
2025-10-29 11:53:42 +08:00
|
|
|
|
import com.klp.pocket.domain.vo.PlantStateWithValueVo;
|
2025-10-27 18:07:12 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 工厂状态定义表Service接口
|
|
|
|
|
|
* 封装业务逻辑,对外提供数据操作能力
|
|
|
|
|
|
*/
|
|
|
|
|
|
public interface IKlptcm1ProPlantStateDefineService {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 分页查询状态定义
|
|
|
|
|
|
* @param pageQuery 分页查询参数(含页码、每页条数)
|
|
|
|
|
|
* @return 分页表格数据(符合前端TableDataInfo格式)
|
|
|
|
|
|
*/
|
|
|
|
|
|
TableDataInfo<Klptcm1ProPlantStateDefine> getDefinePage(PageQuery pageQuery);
|
|
|
|
|
|
|
2025-10-29 11:53:42 +08:00
|
|
|
|
List<PlantStateWithValueVo> selectByValue(String name);
|
|
|
|
|
|
|
|
|
|
|
|
Klptcm1ProPlantStateDefine selectById(BigDecimal id);
|
|
|
|
|
|
|
|
|
|
|
|
int insert(Klptcm1ProPlantStateDefine entity);
|
|
|
|
|
|
|
|
|
|
|
|
int updateById(Klptcm1ProPlantStateDefine entity);
|
2025-10-27 18:07:12 +08:00
|
|
|
|
|
2025-10-29 11:53:42 +08:00
|
|
|
|
int deleteByIds(List<BigDecimal> ids);
|
2025-10-27 18:07:12 +08:00
|
|
|
|
}
|