feat(pocket): 新增工厂状态数据的CURD功能
- 为Klptcm1ProPlantStateCurrent实体增加完整的增删改查接口 - 实现按复合键(INSDATE+TYPE)查询、插入、更新和删除逻辑 - 在Mapper层添加对应的XML SQL映射支持 - 为Klptcm1ProPlantStateDefine增加ID查询、批量删除等功能 - 添加PlantStateWithValueVo视图对象及相关联查逻辑 - 提供根据名称获取带值的状态定义列表方法 - 控制器层新增RESTful API endpoints支持完整操作- 完善服务层实现并暴露统一的服务接口供调用
This commit is contained in:
@@ -3,7 +3,7 @@ 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;
|
||||
@@ -23,5 +23,13 @@ public interface IKlptcm1ProPlantStateDefineService {
|
||||
*/
|
||||
TableDataInfo<Klptcm1ProPlantStateDefine> getDefinePage(PageQuery pageQuery);
|
||||
|
||||
List<PlantStateWithValueVo> selectByValue(String name);
|
||||
|
||||
Klptcm1ProPlantStateDefine selectById(BigDecimal id);
|
||||
|
||||
int insert(Klptcm1ProPlantStateDefine entity);
|
||||
|
||||
int updateById(Klptcm1ProPlantStateDefine entity);
|
||||
|
||||
int deleteByIds(List<BigDecimal> ids);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user