双重预防项目-国泰新华二开定制版
heheng
2025-06-19 af6d33f7c16b121538a6cdd417728e03c4ad0ef1
src/main/java/com/ruoyi/doublePrevention/repository/PreventCJReportRiskControlMeasureRepository.java
@@ -1,39 +1,47 @@
package com.ruoyi.doublePrevention.repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportRiskControlMeasure;
import com.ruoyi.doublePrevention.repository.param.HandlerCJReportParam;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventCJReportRiskControlMeasureRepository extends BaseMapper<PreventCJReportRiskControlMeasure> {
//    /**
//     * 上报数据-管控措施-分页查询
//     */
//    IPage<PreventCJReportRiskControlMeasure> getReportMeasurePage(Page<Object> objectPage, PreventReportRiskControlMeasureReqDTO queryReqDTO);
    /**
     * 批量插入
     * */
    int insertList(List<PreventCJReportRiskControlMeasure> measureLists);
    /**
     * 管控措施-上报数据
     * */
    List<PreventCJReportRiskControlMeasure> listReportMeasureDate();
    /**
     * 管控措施-修改上报状态
     * */
    int updateMeasureReportStatus(HandlerReportParam handlerReportParam);
    /**
     * 管控措施-修改上报状态-通过id
     * */
    int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam);
    /**
     * 插入管控措施上报数据
     * */
    int insertMeasureList(PreventCJReportRiskControlMeasure cjMeasure);
}
package com.ruoyi.doublePrevention.repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportRiskControlMeasure;
import com.ruoyi.doublePrevention.entity.ZDReport.HandlerZDReportParam;
import com.ruoyi.doublePrevention.repository.param.HandlerCJReportParam;
import com.ruoyi.doublePrevention.repository.param.HandlerReportParam;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventCJReportRiskControlMeasureRepository extends BaseMapper<PreventCJReportRiskControlMeasure> {
//    /**
//     * 上报数据-管控措施-分页查询
//     */
//    IPage<PreventCJReportRiskControlMeasure> getReportMeasurePage(Page<Object> objectPage, PreventReportRiskControlMeasureReqDTO queryReqDTO);
    /**
     * 批量插入
     * */
    int insertList(List<PreventCJReportRiskControlMeasure> measureLists);
    /**
     * 管控措施-上报数据
     * */
    List<PreventCJReportRiskControlMeasure> listReportMeasureDate();
    /**
     * 管控措施-修改上报状态
     * */
    int updateMeasureReportStatus(HandlerReportParam handlerReportParam);
    /**
     * 管控措施-修改上报状态-通过id
     * */
    int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam);
    /**
     * 插入管控措施上报数据
     * */
    int insertMeasureList(PreventCJReportRiskControlMeasure cjMeasure);
    int updateHDReportStatusById(HandlerZDReportParam handlerZDReportParam);
    /**
     * 管控措施-上报数据
     * */
    List<PreventCJReportRiskControlMeasure> listReportMeasureDateHuaiDong();
}