双重预防项目-国泰新华二开定制版
16639036659
2024-06-12 272a5cbd098e2890f713dcd4aa5c4cbbad7e8940
src/main/java/com/ruoyi/project/tr/specialCheck/service/impl/SpecialCheckItemDangerLogServiceImpl.java
@@ -186,32 +186,6 @@
            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();