| | |
| | | return resultVO;
|
| | | }
|
| | |
|
| | | // 四类id,挨个查询,判断是否存在
|
| | | if (updateBO.getCheckItemId() == null){
|
| | | resultVO.setMsg("检查项不能为空");
|
| | | return resultVO;
|
| | | }
|
| | | if (updateBO.getTaskId() == null){
|
| | | resultVO.setMsg("任务不能为空");
|
| | | return resultVO;
|
| | | }
|
| | | if (updateBO.getCheckScoreId() == null){
|
| | | resultVO.setMsg("评分不能为空");
|
| | | return resultVO;
|
| | | }
|
| | | if (updateBO.getDangerId() == null){
|
| | | resultVO.setMsg("关联隐患不能为空");
|
| | | return resultVO;
|
| | | }
|
| | | if (updateBO.getCheckDate() == null){
|
| | | resultVO.setMsg("检查时间不能为空");
|
| | | return resultVO;
|
| | | }
|
| | | if (updateBO.getCheckType() == null){
|
| | | resultVO.setMsg("检查类型不能为空");
|
| | | return resultVO;
|
| | | }
|
| | |
|
| | | TbSpecialCheckItemDangerLog tbSpecialCheckItemDangerLog = new TbSpecialCheckItemDangerLog();
|
| | | LocalDateTime dateTime = LocalDateTime.now();
|
| | |
|