Преглед на файлове

工艺部也得走审批

guarantee-lsq преди 1 година
родител
ревизия
fb999437a2
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      platform-service/src/main/java/com/platform/service/store/impl/OutStoreFormServiceImpl.java

+ 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.setDelFlag(false);
         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);
         // 出库单详情
         List<OutStoreDetailDTO> detailList = model.getDetailList();
@@ -407,9 +408,9 @@ public class OutStoreFormServiceImpl extends BaseServiceImpl<OutStoreFormMapper,
                 }
         }
         // 工艺部直接走推送接口
-        if(!verifyFlag){
+        /*if(!verifyFlag){
             yongyouService.addOutForm(outStoreForm.getId(), false);
-        }
+        }*/
         return outStoreForm;
     }