Compare commits

..

No commits in common. "716c183e40f224631ce1a6b8dd1ba563819a3dca" and "46007af1fb1cd7d8773adf278a5802d85b3c8b05" have entirely different histories.

4 changed files with 2 additions and 15 deletions

View File

@ -25,6 +25,4 @@ public class UserResponse {
private String storeLvl; // Store Level
private String groupId; // groupId
private String custCd; // custCd
//시공사 번호
private String builderNo;
}

View File

@ -21,9 +21,9 @@ public class MainPageController {
private final ObjectService objectService;
@Operation(description = "메인 물건정보 목록을 조회한다.")
@GetMapping("/object/{saleStoreId}/{userId}/{builderNo}/list")
@GetMapping("/object/{saleStoreId}/list")
@ResponseStatus(HttpStatus.OK)
public MainPageResponse selectObjectList(@PathVariable String saleStoreId, @PathVariable String userId, @PathVariable String builderNo) throws Exception {
public MainPageResponse selectObjectList(@PathVariable String saleStoreId) throws Exception {
MainPageResponse mainPageResponse = new MainPageResponse();
// 판매점명 조회
@ -39,8 +39,6 @@ public class MainPageController {
// 물건정보 목록 조회
ObjectRequest objectRequest = new ObjectRequest();
objectRequest.setSaleStoreId(saleStoreId);
objectRequest.setUserId(userId);
objectRequest.setBuilderNo(builderNo);
List<ObjectResponse> objectList = objectService.selectObjectMainList(objectRequest);
mainPageResponse.setObjectList(objectList);

View File

@ -170,7 +170,4 @@ public class ObjectRequest {
@Schema(description = "종료 Row")
private String endRow;
@Schema(description = "시공사 번호")
private String builderNo;
}

View File

@ -183,9 +183,6 @@
FROM T_OBJECT O WITH (NOLOCK)
INNER JOIN T_OBJECT_INFO OI WITH (NOLOCK)
ON O.OBJECT_NO = OI.OBJECT_NO
<if test='builderNo != null and builderNo != ""'>
AND OI.CREATE_USER = #{userId}
</if>
INNER JOIN M_SALES_STORE S WITH (NOLOCK)
ON O.SALE_STORE_ID = S.SALE_STORE_ID
<if test='saleStoreId != null and saleStoreId != "T01"'>
@ -277,9 +274,6 @@
FROM T_OBJECT O WITH (NOLOCK)
INNER JOIN T_OBJECT_INFO OI WITH (NOLOCK)
ON O.OBJECT_NO = OI.OBJECT_NO
<if test='builderNo != null and builderNo != ""'>
AND OI.CREATE_USER = #{userId}
</if>
INNER JOIN M_SALES_STORE S WITH (NOLOCK)
ON O.SALE_STORE_ID = S.SALE_STORE_ID
<if test='(saleStoreId != null and saleStoreId != "T01") or (schSelSaleStoreId != null and schSelSaleStoreId != "")'>