2020-03-27 22:30:02 +08:00
|
|
|
|
package com.cm.inspection.service.industrycheckitem;
|
|
|
|
|
|
|
|
|
|
import com.cm.common.exception.RemoveException;
|
|
|
|
|
import com.cm.common.exception.SaveException;
|
|
|
|
|
import com.cm.common.exception.SearchException;
|
|
|
|
|
import com.cm.common.pojo.ListPage;
|
|
|
|
|
import com.cm.common.result.SuccessResult;
|
|
|
|
|
import com.cm.common.result.SuccessResultData;
|
|
|
|
|
import com.cm.common.result.SuccessResultList;
|
|
|
|
|
import com.cm.inspection.pojo.dtos.industrycheckitem.IndustryCheckItemDTO;
|
|
|
|
|
import com.cm.inspection.pojo.vos.industrycheckitem.IndustryCheckItemVO;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @ClassName: IIndustryCheckItemService
|
|
|
|
|
* @Description: 行业检查项
|
|
|
|
|
* @Author: WenG
|
|
|
|
|
* @Date: 2020-03-27 22:12
|
|
|
|
|
* @Version: 1.0
|
|
|
|
|
**/
|
|
|
|
|
public interface IIndustryCheckItemService {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增行业检查项
|
|
|
|
|
*
|
|
|
|
|
* @param industryCheckItemVO
|
|
|
|
|
* @return
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
SuccessResult saveIndustryCheckItem(IndustryCheckItemVO industryCheckItemVO) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增行业检查项(APP)
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param industryCheckItemVO
|
|
|
|
|
* @return
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
SuccessResult saveIndustryCheckItemByToken(String token, IndustryCheckItemVO industryCheckItemVO) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除行业检查项
|
|
|
|
|
*
|
|
|
|
|
* @param ids
|
|
|
|
|
* @return
|
|
|
|
|
* @throws RemoveException
|
|
|
|
|
*/
|
|
|
|
|
SuccessResult removeIndustryCheckItem(String ids) throws RemoveException;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除行业检查项(APP)
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param ids
|
|
|
|
|
* @return
|
|
|
|
|
* @throws RemoveException
|
|
|
|
|
*/
|
|
|
|
|
SuccessResult removeIndustryCheckItemByToken(String token, String ids) throws RemoveException;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改行业检查项
|
|
|
|
|
*
|
|
|
|
|
* @param industryCheckItemId
|
|
|
|
|
* @param industryCheckItemVO
|
|
|
|
|
* @return
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
SuccessResult updateIndustryCheckItem(String industryCheckItemId, IndustryCheckItemVO industryCheckItemVO) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改行业检查项(APP)
|
|
|
|
|
*
|
|
|
|
|
* @param token
|
|
|
|
|
* @param industryCheckItemId
|
|
|
|
|
* @param industryCheckItemVO
|
|
|
|
|
* @return
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
|
|
|
|
SuccessResult updateIndustryCheckItemByToken(String token, String industryCheckItemId, IndustryCheckItemVO industryCheckItemVO) throws Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 行业检查项详情(通过ID)
|
|
|
|
|
*
|
|
|
|
|
* @param industryCheckItemId
|
|
|
|
|
* @return
|
|
|
|
|
* @throws SearchException
|
|
|
|
|
*/
|
|
|
|
|
IndustryCheckItemDTO getIndustryCheckItemById(String industryCheckItemId) throws SearchException;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 行业检查项列表
|
|
|
|
|
*
|
|
|
|
|
* @param params
|
|
|
|
|
* @return
|
|
|
|
|
* @throws SearchException
|
|
|
|
|
*/
|
|
|
|
|
List<IndustryCheckItemDTO> listIndustryCheckItem(Map<String, Object> params) throws SearchException;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 行业检查项分页列表
|
|
|
|
|
*
|
|
|
|
|
* @param page
|
|
|
|
|
* @return
|
|
|
|
|
* @throws SearchException
|
|
|
|
|
*/
|
|
|
|
|
SuccessResultList<List<IndustryCheckItemDTO>> listPageIndustryCheckItem(ListPage page) throws SearchException;
|
|
|
|
|
|
2020-04-02 23:20:23 +08:00
|
|
|
|
/**
|
|
|
|
|
* 获取行业检查项列表(通过行业)
|
|
|
|
|
*
|
|
|
|
|
* @param industryId
|
|
|
|
|
* @return
|
|
|
|
|
* @throws SearchException
|
|
|
|
|
*/
|
|
|
|
|
List<IndustryCheckItemDTO> listIndustryCheckItemByIndustryId(String industryId) throws SearchException;
|
2020-03-27 22:30:02 +08:00
|
|
|
|
}
|