운영 API 연결 주소 수정
This commit is contained in:
parent
477056d1bd
commit
9bbc46402f
@ -169,6 +169,12 @@ public class ObjectService {
|
|||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public List<ObjectResponse> selectObjectMainList(ObjectRequest objectRequest) 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);
|
return objectMapper.selectObjectMainList(objectRequest);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,6 +186,11 @@ public class ObjectService {
|
|||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public List<ObjectResponse> selectObjectList(ObjectRequest objectRequest) 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())) {
|
if (!"T01".equals(objectRequest.getSaleStoreId())) {
|
||||||
objectRequest.setSchSelSaleStoreId("");
|
objectRequest.setSchSelSaleStoreId("");
|
||||||
|
|||||||
@ -37,9 +37,9 @@ spring:
|
|||||||
profiles:
|
profiles:
|
||||||
scheduler: Y
|
scheduler: Y
|
||||||
|
|
||||||
#QSP
|
#QSP # http://jp.qsalesplatform.com
|
||||||
qsp:
|
qsp:
|
||||||
url: http://jp.qsalesplatform.com
|
url: http://1.248.227.176:8120
|
||||||
master-store-batch-url: /api/master/storeAdditionalInfo
|
master-store-batch-url: /api/master/storeAdditionalInfo
|
||||||
master-material-batch-url: /api/master/materialList
|
master-material-batch-url: /api/master/materialList
|
||||||
master-bom-batch-url: /api/master/bomList
|
master-bom-batch-url: /api/master/bomList
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user