guarantee-lsq 1 рік тому
батько
коміт
fb999437a2

+ 4 - 3
platform-service/src/main/java/com/platform/service/store/impl/OutStoreFormServiceImpl.java

@@ -324,7 +324,8 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
         model.setOutNo(IdGeneratorUtils.getOutStoreNo(++count));
         model.setOutNo(IdGeneratorUtils.getOutStoreNo(++count));
         model.setDelFlag(false);
         model.setDelFlag(false);
         model.setUserInfo(userInfo);
         model.setUserInfo(userInfo);
-        model.setStatus(verifyFlag ? OutStoreStatusEnum.CREATED.getValue() : OutStoreStatusEnum.EXECUTING.getValue());
+        model.setStatus(OutStoreStatusEnum.CREATED.getValue());
+        //model.setStatus(verifyFlag ? OutStoreStatusEnum.CREATED.getValue() : OutStoreStatusEnum.EXECUTING.getValue());
         model.setUserInfo(userInfo);
         model.setUserInfo(userInfo);
         // 出库单详情
         // 出库单详情
         List<OutStoreDetailDTO> detailList = model.getDetailList();
         List<OutStoreDetailDTO> detailList = model.getDetailList();
@@ -407,9 +408,9 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
                 }
                 }
         }
         }
         // 工艺部直接走推送接口
         // 工艺部直接走推送接口
-        if(!verifyFlag){
+        /*if(!verifyFlag){
             yongyouService.addOutForm(outStoreForm.getId(), false);
             yongyouService.addOutForm(outStoreForm.getId(), false);
-        }
+        }*/
         return outStoreForm;
         return outStoreForm;
     }
     }