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("更新成功");