diff --git a/src/main/java/com/glxp/api/controller/purchase/PurOrderController.java b/src/main/java/com/glxp/api/controller/purchase/PurOrderController.java index acfe154d0..59b76812a 100644 --- a/src/main/java/com/glxp/api/controller/purchase/PurOrderController.java +++ b/src/main/java/com/glxp/api/controller/purchase/PurOrderController.java @@ -150,7 +150,9 @@ public class PurOrderController { Long userId = customerService.getUserId(); PurOrderEntity purOrderEntity = postPurOrderRequest.getPurOrderEntity(); purOrderEntity.setUpdateTime(new Date()); + purOrderEntity.setUpdateUser(userId+""); purOrderEntity.setAuditUser(userId + ""); + purOrderEntity.setAuditTime(new Date()); purOrderEntity.setStatus(postPurOrderRequest.getEditStatus()); purOrderService.update(purOrderEntity); String billNo=""; diff --git a/src/main/java/com/glxp/api/controller/purchase/PurPlanController.java b/src/main/java/com/glxp/api/controller/purchase/PurPlanController.java index 6e427b495..1307578f9 100644 --- a/src/main/java/com/glxp/api/controller/purchase/PurPlanController.java +++ b/src/main/java/com/glxp/api/controller/purchase/PurPlanController.java @@ -184,6 +184,8 @@ public class PurPlanController { Long userId = customerService.getUserId(); PurPlanEntity purApplyEntity = postPurPlanRequest.getPurPlanEntity(); purApplyEntity.setUpdateTime(new Date()); + purApplyEntity.setUpdateUser(userId+""); + purApplyEntity.setAuditUser(userId + ""); purApplyEntity.setAuditUser(userId + ""); purApplyEntity.setStatus(postPurPlanRequest.getEditStatus()); purPlanService.update(purApplyEntity);