운영 API 연결 주소 수정

This commit is contained in:
LAPTOP-L3VE7KK2\USER 2025-03-06 17:25:33 +09:00
parent 477056d1bd
commit 9bbc46402f
2 changed files with 13 additions and 2 deletions

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