‘linchangsheng’ 2 hete
szülő
commit
e8b5495186

+ 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());