From 88f8db9a69ce15cdb0cd771bb8832c092d06255e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Fri, 14 Apr 2023 13:49:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E7=89=A9=E8=B4=A8?= =?UTF-8?q?=E7=94=B3=E8=AF=B7=E5=AE=A1=E6=A0=B8=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/controller/thrsys/ThrProductsAddDiController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/glxp/api/controller/thrsys/ThrProductsAddDiController.java b/src/main/java/com/glxp/api/controller/thrsys/ThrProductsAddDiController.java index eff18821..920353ee 100644 --- a/src/main/java/com/glxp/api/controller/thrsys/ThrProductsAddDiController.java +++ b/src/main/java/com/glxp/api/controller/thrsys/ThrProductsAddDiController.java @@ -174,9 +174,6 @@ public class ThrProductsAddDiController { } - thrProductsAddDiEntity.setAuditTime(new Date()); - thrProductsAddDiEntity.setAuditUser(customerService.getUserId() + ""); - thrProductsAddDiService.updateDiProduct(thrProductsAddDiEntity); thrProductsAddDiEntity = thrProductsAddDiService.selecById(thrProductsAddDiEntity.getId()); @@ -256,6 +253,9 @@ public class ThrProductsAddDiController { } } + thrProductsAddDiEntity.setAuditTime(new Date()); + thrProductsAddDiEntity.setAuditUser(customerService.getUserId() + ""); + thrProductsAddDiService.updateDiProduct(thrProductsAddDiEntity); } return ResultVOUtils.success("更新成功");