package com.gkhy.safePlatform.doublePrevention.repository;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.gkhy.safePlatform.doublePrevention.entity.CJReport.PreventCJReportRiskControlMeasure;
|
import com.gkhy.safePlatform.doublePrevention.entity.PreventReportRiskControlMeasure;
|
import com.gkhy.safePlatform.doublePrevention.entity.dto.report.req.PreventReportRiskControlMeasureReqDTO;
|
import com.gkhy.safePlatform.doublePrevention.repository.param.HandlerCJReportParam;
|
import com.gkhy.safePlatform.doublePrevention.repository.param.HandlerReportParam;
|
import org.springframework.stereotype.Repository;
|
|
import java.util.List;
|
|
@Repository
|
public interface PreventCJReportRiskControlMeasureRepository extends BaseMapper<PreventCJReportRiskControlMeasure> {
|
|
/**
|
* 批量插入
|
* */
|
int insertList(List<PreventCJReportRiskControlMeasure> measureLists);
|
/**
|
* 上报数据-管控措施-分页查询
|
*/
|
IPage<PreventCJReportRiskControlMeasure> getReportMeasurePage(Page<Object> objectPage, PreventReportRiskControlMeasureReqDTO queryReqDTO);
|
/**
|
* 管控措施-上报数据
|
* */
|
List<PreventCJReportRiskControlMeasure> listReportMeasureDate();
|
/**
|
* 管控措施-修改上报状态
|
* */
|
int updateMeasureReportStatus(HandlerReportParam handlerReportParam);
|
/**
|
* 管控措施-修改上报状态-通过id
|
* */
|
int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam);
|
}
|