| | |
| | | |
| | | @PostMapping("/list") |
| | | @ResponseBody |
| | | public TableDataInfo selectSpecialCheckItemDangerLogPage(@RequestBody TbSpecialCheckItemDangerLogBO itemDangerLogBO ) |
| | | public TableDataInfo selectSpecialCheckItemDangerLogPage(TbSpecialCheckItemDangerLogBO itemDangerLogBO ) |
| | | { |
| | | |
| | | ResultVO<List<TbSpecialCheckItemDangerLog>> resultVO = itemDangerLogService.selectSpecialCheckItemDangerLogPage(itemDangerLogBO); |
| | |
| | | */ |
| | | @PostMapping("/add") |
| | | @ResponseBody |
| | | public AjaxResult addSpecialItemDanger(@RequestBody TbSpecialCheckItemDangerLog itemDangerLog){ |
| | | public AjaxResult addSpecialItemDanger(TbSpecialCheckItemDangerLog itemDangerLog){ |
| | | |
| | | ResultVO<TbSpecialCheckItemDangerLog> resultVO = itemDangerLogService.addSpecialItemDanger(itemDangerLog); |
| | | String code = resultVO.getCode(); |
| | |
| | | */ |
| | | @PostMapping("/edit") |
| | | @ResponseBody |
| | | public AjaxResult editSave(@RequestBody TbSpecialCheckItemDangerLogUpdateBO updateBO) |
| | | public AjaxResult editSave(TbSpecialCheckItemDangerLogUpdateBO updateBO) |
| | | { |
| | | ResultVO<TbSpecialCheckItemDangerLog> resultVO = itemDangerLogService.updateSpecialCheckItemDangerLog(updateBO); |
| | | String code = resultVO.getCode(); |
| | |
| | | |
| | | @PostMapping("/remove") |
| | | @ResponseBody |
| | | public AjaxResult remove(@RequestBody TbSpecialCheckItemDangerLogUpdateBO updateBO){ |
| | | public AjaxResult remove(TbSpecialCheckItemDangerLogUpdateBO updateBO){ |
| | | ResultVO<TbSpecialCheckItemDangerLog> resultVO = itemDangerLogService.deleteTbSpecialItemDangerTaskLog(updateBO); |
| | | String code = resultVO.getCode(); |
| | | if ("200".equals(code)){ |