feature/jp-0331 #526

Open
jungpyo2001 wants to merge 998 commits from feature/jp-0331 into main
2 changed files with 13 additions and 2 deletions
Showing only changes of commit 9bbc46402f - Show all commits

View File

@ -169,6 +169,12 @@ public class ObjectService {
* @throws Exception
*/
public List<ObjectResponse> selectObjectMainList(ObjectRequest objectRequest) throws Exception {
if (StringUtils.isEmpty(objectRequest.getSaleStoreId())) {
throw new QcastException(
ErrorCode.INVALID_INPUT_VALUE,
message.getMessage("common.message.required.data", "Sale Store ID"));
}
return objectMapper.selectObjectMainList(objectRequest);
}
@ -180,6 +186,11 @@ public class ObjectService {
* @throws Exception
*/
public List<ObjectResponse> selectObjectList(ObjectRequest objectRequest) throws Exception {
if (StringUtils.isEmpty(objectRequest.getSaleStoreId())) {
throw new QcastException(
ErrorCode.INVALID_INPUT_VALUE,
message.getMessage("common.message.required.data", "Sale Store ID"));
}
if (!"T01".equals(objectRequest.getSaleStoreId())) {
objectRequest.setSchSelSaleStoreId("");

View File

@ -37,9 +37,9 @@ spring:
profiles:
scheduler: Y
#QSP
#QSP # http://jp.qsalesplatform.com
qsp:
url: http://jp.qsalesplatform.com
url: http://1.248.227.176:8120
master-store-batch-url: /api/master/storeAdditionalInfo
master-material-batch-url: /api/master/materialList
master-bom-batch-url: /api/master/bomList