|
@@ -85,6 +85,8 @@ public class WhsMngService extends CommonService {
|
85
|
85
|
// 창고로케이션정보
|
86
|
86
|
List<WhsMgntBaseLocEntity> locEntities = saveWhsInfoRequest.toEntities(saveWhsInfoRequest.getGridInsertData());
|
87
|
87
|
for (WhsMgntBaseLocEntity locEntity : locEntities) {
|
|
88
|
+ // LOCATION 채번
|
|
89
|
+ locEntity.setLocation(whsMngMapper.selectNextLocation4Whs(locEntity.getBrandId(), locEntity.getWhsId()));
|
88
|
90
|
whsMngMapper.insertWhsMgntBaseLoc(userId, locEntity);
|
89
|
91
|
}
|
90
|
92
|
} catch (GlobalException e) {
|
|
@@ -129,6 +131,8 @@ public class WhsMngService extends CommonService {
|
129
|
131
|
// 등록
|
130
|
132
|
locEntities = saveWhsInfoRequest.toEntities(saveWhsInfoRequest.getGridInsertData());
|
131
|
133
|
for (WhsMgntBaseLocEntity locEntity : locEntities) {
|
|
134
|
+ // LOCATION 채번
|
|
135
|
+ locEntity.setLocation(whsMngMapper.selectNextLocation4Whs(locEntity.getBrandId(), locEntity.getWhsId()));
|
132
|
136
|
whsMngMapper.insertWhsMgntBaseLoc(userId, locEntity);
|
133
|
137
|
}
|
134
|
138
|
} catch (GlobalException e) {
|