| | |
| | | import com.ruoyi.project.tr.specialCheck.domin.BO.TbSpecialCheckScoreAndDangerLogQueryBO;
|
| | | import com.ruoyi.project.tr.specialCheck.domin.TbBaseCheckItem;
|
| | | import com.ruoyi.project.tr.specialCheck.domin.TbBaseCheckScore;
|
| | | import com.ruoyi.project.tr.specialCheck.domin.TbBaseCheckTask;
|
| | | import com.ruoyi.project.tr.specialCheck.domin.TbSpecialCheckScoreAndDangerLog;
|
| | | import com.ruoyi.project.tr.specialCheck.mapper.*;
|
| | | import com.ruoyi.project.tr.specialCheck.service.SpecialCheckScoreAndDangerDangerLogService;
|
| | |
| | | resultVO.setMsg("隐患不存在");
|
| | | return resultVO;
|
| | | }
|
| | | if (scoreAndDangerLog.getCheckDate() == null){
|
| | | if (scoreAndDangerEditLog.getCheckDate() == null){
|
| | | resultVO.setMsg("检查时间不能为空");
|
| | | return resultVO;
|
| | | }
|
| | |
| | | resultVO.setMsg("检查类型不能为空");
|
| | | return resultVO;
|
| | | }
|
| | | TbBaseCheckTaskMapper baseCheckTaskByTaskId = baseCheckTaskMapper.getBaseCheckTaskByTaskId(baseCheckItemByItemId.getTaskId());
|
| | | TbBaseCheckTask baseCheckTaskByTaskId = baseCheckTaskMapper.getBaseCheckTaskByTaskId(baseCheckItemByItemId.getTaskId());
|
| | | if (ObjectUtils.isEmpty(baseCheckTaskByTaskId)){
|
| | | resultVO.setMsg("专项任务不存在");
|
| | | return resultVO;
|
| | |
| | | scoreAndDangerLog.setIsReject(baseCheckScoreByScoreId.getIsReject());
|
| | | scoreAndDangerLog.setDeductPoint(baseCheckScoreByScoreId.getDeductPoint());
|
| | | scoreAndDangerLog.setDeductIllustrate(baseCheckScoreByScoreId.getDeductIllustrate());
|
| | | scoreAndDangerLog.setTaskId(baseCheckItemByItemId.getTaskId());
|
| | | scoreAndDangerLog.setCheckDate(LocalDateTime.ofInstant(scoreAndDangerEditLog.getCheckDate().toInstant(), ZoneId.systemDefault()));
|
| | |
|
| | |
|
| | |
| | | resultVO.setMsg("隐患不存在");
|
| | | return resultVO;
|
| | | }
|
| | | if (scoreAndDangerLog.getCheckDate() == null){
|
| | | if (scoreAndDangerEditLog.getCheckDate() == null){
|
| | | resultVO.setMsg("检查时间不能为空");
|
| | | return resultVO;
|
| | | }
|
| | |
| | | resultVO.setMsg("检查类型不能为空");
|
| | | return resultVO;
|
| | | }
|
| | | TbBaseCheckTaskMapper baseCheckTaskByTaskId = baseCheckTaskMapper.getBaseCheckTaskByTaskId(baseCheckItemByItemId.getTaskId());
|
| | | TbBaseCheckTask baseCheckTaskByTaskId = baseCheckTaskMapper.getBaseCheckTaskByTaskId(baseCheckItemByItemId.getTaskId());
|
| | | if (ObjectUtils.isEmpty(baseCheckTaskByTaskId)){
|
| | | resultVO.setMsg("专项任务不存在");
|
| | | return resultVO;
|