package com.gk.hotwork.specialWork.service; import com.gk.hotwork.Domain.co.ContextCacheUser; import com.gk.hotwork.Domain.Vo.PageQuery; import com.gk.hotwork.Domain.Vo.SearchResultVO; import com.gk.hotwork.specialWork.model.dto.req.ApprovalRuleStandAddReqDTO; import com.gk.hotwork.specialWork.model.dto.req.ApprovalRuleStandModReqDTO; import com.gk.hotwork.specialWork.model.dto.req.DeleteForm; import com.gk.hotwork.specialWork.model.dto.resp.ApprovalRuleItemStandPageRespDTO; import com.gk.hotwork.specialWork.model.dto.resp.ApprovalRuleStandListRespDTO; import com.gk.hotwork.specialWork.model.query.ApprovalRuleStandListQuery; import com.gk.hotwork.specialWork.model.query.ApprovalRuleStandPageQuery; import java.util.List; public interface RuleStandService { /** * @Description: 获取 审批规则 */ void saveRuleStand(ContextCacheUser currentUser, ApprovalRuleStandAddReqDTO addReqDTO); /** * @Description: 修改 审批规则 */ void updateRuleStand(ContextCacheUser currentUser, ApprovalRuleStandModReqDTO modReqDTO); /** * @Description: 根据 query 对象查询 list */ List listRuleStand(ContextCacheUser currentUser, ApprovalRuleStandListQuery query); /** * @Description: 分页查询 */ SearchResultVO> listRuleStandByPage(ContextCacheUser currentUser, PageQuery query); /** * @Description: 删除 */ void deleteRuleStand(ContextCacheUser currentUser, DeleteForm deleteForm); }