| | |
| | | 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; |
| | |
| | | @RequestMapping("/tr/riskList") |
| | | public class RiskListController extends BaseController { |
| | | private String prefix = "tr/riskList"; |
| | | |
| | | |
| | | |
| | | @Autowired |
| | | private IRiskListService riskListService; |
| | |
| | | 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); |