package com.gkhy.safePlatform.specialWork.service; import com.gkhy.safePlatform.commons.co.ContextCacheUser; import com.gkhy.safePlatform.commons.query.PageQuery; import com.gkhy.safePlatform.commons.vo.SearchResultVO; import com.gkhy.safePlatform.specialWork.model.dto.req.ApprovalRuleItemAddReqDTO; import com.gkhy.safePlatform.specialWork.model.dto.req.ApprovalRuleItemModReqDTO; import com.gkhy.safePlatform.specialWork.model.dto.req.DeleteForm; import com.gkhy.safePlatform.specialWork.model.dto.resp.ApprovalRuleUnitItemListRespDTO; import com.gkhy.safePlatform.specialWork.model.dto.resp.ApprovalRuleUnitItemPageRespDTO; import com.gkhy.safePlatform.specialWork.model.query.ApprovalRuleItemPageQuery; import com.gkhy.safePlatform.specialWork.model.query.ApprovalRuleItemQuery; import java.util.List; public interface RuleItemService { /** * @Description: 新增审批项 */ void saveRuleItem(ContextCacheUser currentUser, ApprovalRuleItemAddReqDTO addReqDTO); /** * @Description: 修改审批项 */ void updateRuleItem(ContextCacheUser currentUser, ApprovalRuleItemModReqDTO modReqDTO); /** * @Description: 删除审批项 */ void deleteRuleItem(ContextCacheUser currentUser, DeleteForm deleteForm); /** * @Description: 分页查询 */ SearchResultVO> listRuleItemByPage(ContextCacheUser currentUser, PageQuery pageQuery); /** * @Description: 根据 query 对象查找 list */ List listRuleItem(ContextCacheUser currentUser, ApprovalRuleItemQuery query); }