| | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | @GetMapping("/add") |
| | | public String add(ModelMap mmap) |
| | | @GetMapping("/add/{id}") |
| | | // public String add(ModelMap mmap) |
| | | public String add(@PathVariable("id") String id, ModelMap mmap) |
| | | { |
| | | List<RiskList> riskList = riskListService.listHazardSource(); |
| | | List<PreventCJReportDangerInfo> dangerList = preventCJReportDangerInfoService.getDangerListForCheckTask(); |
| | |
| | | */ |
| | | @PostMapping("/add") |
| | | @ResponseBody |
| | | public AjaxResult addSpecialItemDanger(@RequestBody TbSpecialCheckScoreAndDangerLogEditBO scoreAndDangerEditLog){ |
| | | public AjaxResult addSpecialItemDanger(TbSpecialCheckScoreAndDangerLogEditBO scoreAndDangerEditLog){ |
| | | |
| | | ResultVO<TbSpecialCheckScoreAndDangerLog> resultVO = scoreAndDangerDangerLogService.addSpecialScoreAndDanger(scoreAndDangerEditLog); |
| | | String code = resultVO.getCode(); |