물건 판매점 목록 조회 t01 조건 수정 및 로그인 response custCd 추가
This commit is contained in:
parent
c056b7efdb
commit
90930a11f1
@ -24,5 +24,5 @@ public class UserResponse {
|
||||
private String pwdInitYn; // Password Init Yn
|
||||
private String storeLvl; // Store Level
|
||||
private String groupId; // groupId
|
||||
|
||||
private String custCd; // custCd
|
||||
}
|
||||
|
||||
@ -84,9 +84,6 @@ public class ObjectService {
|
||||
|
||||
if ("T01".equals(saleStoreId)) {
|
||||
storeList = objectMapper.selectSaleStoreAllList();
|
||||
} else {
|
||||
storeList = objectMapper.selectSaleStoreList(saleStoreId);
|
||||
}
|
||||
|
||||
// [1]. 판매점 목록 조회 결과
|
||||
if (storeList.size() > 0) {
|
||||
@ -117,10 +114,15 @@ public class ObjectService {
|
||||
storeList.sort(Comparator.comparing(SaleStoreResponse::getPriority));
|
||||
}
|
||||
} else {
|
||||
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR, (String) result.get("resultMsg"));
|
||||
throw new QcastException(ErrorCode.INTERNAL_SERVER_ERROR,
|
||||
(String) result.get("resultMsg"));
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
storeList = objectMapper.selectSaleStoreList(saleStoreId);
|
||||
}
|
||||
|
||||
return storeList;
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user