Browse Source

납품서, 수거서 수정

dwkim 2 years ago
parent
commit
d00d54ee16

+ 2 - 2
src/main/java/com/oqpo/api/service/inoutmng/ColOdrService.java

@@ -345,7 +345,7 @@ public class ColOdrService extends CommonService {
345 345
                     pickInfoMgntEntity.setWhsId(entity.getRtnWhsId());
346 346
                     pickInfoMgntEntity.setLocation(entity.getRtnLocation());
347 347
                     //pickInfoMgntEntity.setColDvsn(entity.getColDvsn());
348
-                    pickInfoMgntEntity.setWhsDvsn(entity.getColDvsn() == "C001" ? "W02" : "W01");  // 본사엣 수거면 매장,,, 공급사에서 수거면 본사
348
+                    pickInfoMgntEntity.setWhsDvsn("C001".equals(entity.getColDvsn()) ? "W02" : "W01");  // 본사엣 수거면 매장,,, 공급사에서 수거면 본사
349 349
                     pickInfoMgntEntity.setBrandId(entity.getBrandId());
350 350
                     pickInfoMgntEntity.setColDesc(null);
351 351
 
@@ -601,7 +601,7 @@ public class ColOdrService extends CommonService {
601 601
                     pickInfoMgntEntity.setWhsId(entity.getRtnWhsId());
602 602
                     pickInfoMgntEntity.setLocation(entity.getRtnLocation());
603 603
                     pickInfoMgntEntity.setColDvsn(entity.getColDvsn());
604
-                    pickInfoMgntEntity.setWhsDvsn(entity.getColDvsn() == "C001" ? "W02" : "W01");  // 본사엣 수거면 매장,,, 공급사에서 수거면 본사
604
+                    pickInfoMgntEntity.setWhsDvsn("C001".equals(entity.getColDvsn()) ? "W02" : "W01");  // 본사엣 수거면 매장,,, 공급사에서 수거면 본사
605 605
                     pickInfoMgntEntity.setBrandId(entity.getBrandId());
606 606
                     pickInfoMgntEntity.setColDesc(null);
607 607
 

+ 1 - 1
src/main/java/com/oqpo/api/service/inoutmng/ShmtOdrService.java

@@ -336,7 +336,7 @@ public class ShmtOdrService extends CommonService {
336 336
                     shmtBaseEntity.setShmtReqStCd("SHM1");
337 337
                     shmtBaseEntity.setShmtWhsId(entity.getShmtWhsId());
338 338
                     shmtBaseEntity.setShmtLocation(entity.getShmtLocation());
339
-                    shmtBaseEntity.setWhsDvsn("W01");
339
+                    shmtBaseEntity.setWhsDvsn("W02");
340 340
                     shmtBaseEntity.setBrandId(entity.getBrandId());
341 341
                     shmtBaseEntity.setStoreId(entity.getStoreId());
342 342
                     shmtBaseEntity.setPodrDvsn("OD01");