双重预防项目-国泰新华二开定制版
heheng
2025-06-19 46c37398a52d1dcf81788960ec90faa91249e77f
src/main/java/com/ruoyi/doublePrevention/repository/PreventCJReportRiskAnaUnitRepository.java
@@ -1,33 +1,39 @@
package com.ruoyi.doublePrevention.repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportRiskAnaUnit;
import com.ruoyi.doublePrevention.repository.param.HandlerCJReportParam;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventCJReportRiskAnaUnitRepository extends BaseMapper<PreventCJReportRiskAnaUnit> {
//    /**
//     * 上报数据-风险分析单元-分页查询
//     */
//    IPage<PreventCJReportRiskAnaUnit> getReportRiskUnitPage(Page<Object> page, PreReportRiskUnitQueryReqDTO queryReqDTO);
    /**
     * 上报数据-查询待上报数据
     */
    List<PreventCJReportRiskAnaUnit> listReportUnitDate();
    /**
     * 上报数据-修改待上报
     */
    int updateReportStatus();
    /**
     * 上报数据-修改待上报-通过id
     */
    int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam);
    /**
     * 上报数据-插入
     */
    int insertUnitList(PreventCJReportRiskAnaUnit unit);
}
package com.ruoyi.doublePrevention.repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.doublePrevention.entity.CJReport.PreventCJReportRiskAnaUnit;
import com.ruoyi.doublePrevention.entity.ZDReport.HandlerZDReportParam;
import com.ruoyi.doublePrevention.repository.param.HandlerCJReportParam;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface PreventCJReportRiskAnaUnitRepository extends BaseMapper<PreventCJReportRiskAnaUnit> {
//    /**
//     * 上报数据-风险分析单元-分页查询
//     */
//    IPage<PreventCJReportRiskAnaUnit> getReportRiskUnitPage(Page<Object> page, PreReportRiskUnitQueryReqDTO queryReqDTO);
    /**
     * 上报数据-查询待上报数据
     */
    List<PreventCJReportRiskAnaUnit> listReportUnitDate();
    List<PreventCJReportRiskAnaUnit> listReportUnitDateHuaiDong();
    /**
     * 上报数据-修改待上报
     */
    int updateReportStatus();
    /**
     * 上报数据-修改待上报-通过id
     */
    int updateCJReportStatusById(HandlerCJReportParam handlerCJReportParam);
    int updateHDReportStatusById(HandlerZDReportParam handlerZDReportParam);
    /**
     * 上报数据-插入
     */
    int insertUnitList(PreventCJReportRiskAnaUnit unit);
}