From 6a36a3e8038901727a18391e9b412e3f8398cd20 Mon Sep 17 00:00:00 2001 From: wangxy <1481820854@qq.com> Date: Wed, 25 Sep 2024 14:30:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=9F=A5=E8=AF=A2=E5=AD=90=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/web/controller/manager/CheckReportManager.java | 3 --- .../web/controller/system/check/CheckReportController.java | 1 - 2 files changed, 4 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CheckReportManager.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CheckReportManager.java index 261eadf..9400684 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CheckReportManager.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/CheckReportManager.java @@ -64,9 +64,6 @@ public class CheckReportManager { .eq(TdCheckType::getCheckId, checkReportDTO.getCheckId()) .remove(); } else { - if(Objects.isNull(tdCheckReport.getCheckState())){ - tdCheckReport.setCheckState("3"); - } tdCheckReport.setDepart(ShiroUtils.getSysUser().getDept().getDeptName()); tdCheckReport.setAdduser(ShiroUtils.getSysUser().getUserName()); tdCheckReport.setCreateTime(new Date()); diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/check/CheckReportController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/check/CheckReportController.java index a42e92f..8530d56 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/check/CheckReportController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/check/CheckReportController.java @@ -195,7 +195,6 @@ public class CheckReportController extends BaseController { @PostMapping("/selfCheckSave") @ResponseBody public AjaxResult selfCheckSave(@RequestBody TdCheckReportDTO checkReportDTO) { - checkReportDTO.setCheckState("2"); return toAjax(checkReportManager.saveOrUpdate(checkReportDTO)); }