双重预防项目-国泰新华二开定制版
Your Name
2022-11-01 9bab1d44244289fad5f706103ac3cd33afcb0640
src/main/java/com/ruoyi/project/tr/riskList/controller/RiskListController.java
@@ -6,6 +6,7 @@
import com.ruoyi.common.utils.security.ShiroUtils;
import com.ruoyi.doublePrevention.entity.PreventRiskControlMeasure;
import com.ruoyi.doublePrevention.entity.dto.resp.PreventRiskCheckUnitRespDTO;
import com.ruoyi.doublePrevention.entity.dto.resp.PreventRiskUnitCodeAndNameListQueryRespDTO;
import com.ruoyi.doublePrevention.service.RiskService;
import com.ruoyi.framework.aspectj.lang.annotation.Log;
import com.ruoyi.framework.aspectj.lang.enums.BusinessType;
@@ -48,6 +49,8 @@
@RequestMapping("/tr/riskList")
public class RiskListController extends BaseController {
    private String prefix = "tr/riskList";
    @Autowired
    private IRiskListService riskListService;
@@ -222,7 +225,7 @@
        mmap.put("riskList", riskList);
        //查询风险清单类型
        List<RiskType> riskTypes = getRiskTypes(riskList.getRiskType());
        mmap.put("riskTypes", riskTypes);
        mmap.put("  ", riskTypes);
        //判断如果是作业活动,查询作业活动频率
        if (riskList.getRiskType() == 2) {
            List riskTypes1 = getRiskTypes(4);