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.ApprovalRuleStandAddReqDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.req.ApprovalRuleStandModReqDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.req.DeleteForm;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.ApprovalRuleItemStandPageRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.ApprovalRuleStandListRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.query.ApprovalRuleStandListQuery;
|
import com.gkhy.safePlatform.specialWork.model.query.ApprovalRuleStandPageQuery;
|
import com.gkhy.safePlatform.specialWork.model.query.db.ApprovalRuleStandListDBQuery;
|
|
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<ApprovalRuleStandListRespDTO> listRuleStand(ContextCacheUser currentUser,ApprovalRuleStandListQuery query);
|
|
/**
|
* @Description: 分页查询
|
*/
|
SearchResultVO<List<ApprovalRuleItemStandPageRespDTO>> listRuleStandByPage(ContextCacheUser currentUser, PageQuery<ApprovalRuleStandPageQuery> query);
|
|
/**
|
* @Description: 删除
|
*/
|
void deleteRuleStand(ContextCacheUser currentUser, DeleteForm deleteForm);
|
}
|