From f7888c2f0cb6537388345517434988a887f6e81c Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期二, 22 十一月 2022 13:11:29 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/common/service/CommonService.java |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/common/service/CommonService.java b/src/main/java/com/zy/common/service/CommonService.java
index 813d3db..7c14d77 100644
--- a/src/main/java/com/zy/common/service/CommonService.java
+++ b/src/main/java/com/zy/common/service/CommonService.java
@@ -98,6 +98,23 @@
     @Transactional
     public StartupDto getLocNo(Integer whsType, Integer staDescId, Integer sourceStaNo, List<String> matNos, LocTypeDto locTypeDto, int times) {
 //        whsType = getWhsType(sourceStaNo, times);
+        switch (sourceStaNo){
+            case 101:
+            case 109:
+            case 117:
+                whsType=1;
+                break;
+            case 201:
+                whsType=2;
+                break;
+            case 207:
+                whsType=3;
+                break;
+            case 213:
+                whsType=4;
+                break;
+        }
+
         StartupDto startupDto = new StartupDto();
 
 

--
Gitblit v1.9.1