‘linchangsheng’ 2 周之前
父節點
當前提交
e8b5495186
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      src/main/java/com/gree/mall/manager/logic/goods/GoodsApplyLogic.java

+ 4 - 2
src/main/java/com/gree/mall/manager/logic/goods/GoodsApplyLogic.java

@@ -145,9 +145,11 @@ public class GoodsApplyLogic {
 
         }
 
-        if (ifStatus)
+        if (ifStatus) {
             goodsApplyAddUp.setStatus(ExamineStatusEnum.OK.getKey());
-        else
+            goodsApplyAddUp.setApproveName("系统审核");
+            goodsApplyAddUp.setApproveTime(new Date());
+        }else
             goodsApplyAddUp.setStatus(ExamineStatusEnum.WAIT.getKey());