refactor(service): 简化当前状态服务接口
- 移除冗余的查询、分页和删除方法 -保留核心方法 selectAll用于获取全部数据 - 清理导入包和注释,优化代码结构
This commit is contained in:
@@ -1,49 +1,10 @@
|
||||
package com.klp.pocket.service;
|
||||
|
||||
import com.klp.pocket.domain.Klptcm1ProPlantStateCurrent;
|
||||
import com.klp.pocket.domain.vo.Klptcm1ProPlantStateCurrentVo;
|
||||
import com.klp.pocket.domain.bo.Klptcm1ProPlantStateCurrentBo;
|
||||
import com.klp.common.core.page.TableDataInfo;
|
||||
import com.klp.common.core.domain.PageQuery;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 当前Service接口
|
||||
*
|
||||
* @author klp
|
||||
* @date 2025-10-27
|
||||
*/
|
||||
public interface IKlptcm1ProPlantStateCurrentService {
|
||||
|
||||
/**
|
||||
* 查询当前
|
||||
*/
|
||||
Klptcm1ProPlantStateCurrentVo queryById(Date INSDATE);
|
||||
List<Klptcm1ProPlantStateCurrent> selectAll();
|
||||
|
||||
/**
|
||||
* 查询当前列表
|
||||
*/
|
||||
TableDataInfo<Klptcm1ProPlantStateCurrentVo> queryPageList(Klptcm1ProPlantStateCurrentBo bo, PageQuery pageQuery);
|
||||
|
||||
/**
|
||||
* 查询当前列表
|
||||
*/
|
||||
List<Klptcm1ProPlantStateCurrentVo> queryList(Klptcm1ProPlantStateCurrentBo bo);
|
||||
|
||||
/**
|
||||
* 新增当前
|
||||
*/
|
||||
Boolean insertByBo(Klptcm1ProPlantStateCurrentBo bo);
|
||||
|
||||
/**
|
||||
* 修改当前
|
||||
*/
|
||||
Boolean updateByBo(Klptcm1ProPlantStateCurrentBo bo);
|
||||
|
||||
/**
|
||||
* 校验并批量删除当前信息
|
||||
*/
|
||||
Boolean deleteWithValidByIds(Collection<Date> ids, Boolean isValid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user