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.ResultVO;
|
import com.gkhy.safePlatform.commons.vo.SearchResultVO;
|
import com.gkhy.safePlatform.specialWork.model.dto.req.*;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.ApprovalRuleItemStandPageRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.ApprovalRuleMeasurePageRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.ApprovalRuleMeasureRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.dto.resp.ApprovalRuleStandListRespDTO;
|
import com.gkhy.safePlatform.specialWork.model.query.db.ApprovalRuleItemMeasureQuery;
|
|
import java.util.List;
|
|
public interface RuleMeasureService {
|
/**
|
* 新增
|
*/
|
ResultVO saveMeasure(ContextCacheUser currentUser, ApprovalRuleItemMeasureAddReqDTO addReqDTO);
|
|
|
/**
|
* 修改
|
*/
|
ResultVO modMeasure(ContextCacheUser currentUser, ApprovalRuleItemMeasureModReqDTO modReqDTO);
|
|
/**
|
* 删除
|
*/
|
ResultVO deleteByIds(ContextCacheUser currentUser, DeleteForm deleteForm);
|
|
|
/**
|
* 列表
|
*/
|
ResultVO<List<ApprovalRuleMeasureRespDTO>> listMeasure(ContextCacheUser currentUser, ApprovalRuleItemMeasureQuery query);
|
|
/**
|
* 分页
|
*/
|
SearchResultVO<List<ApprovalRuleMeasurePageRespDTO>> listMeasureByPage(ContextCacheUser currentUser, PageQuery<ApprovalRuleItemMeasureQuery> query);
|
|
}
|