|
@@ -1092,16 +1092,16 @@ public class ColOdrService extends CommonService {
|
1092
|
1092
|
/*
|
1093
|
1093
|
반품처리현황 그리드 리스트 조회
|
1094
|
1094
|
*/
|
1095
|
|
- public GridResponse selectRtnStockResultList(String sBrandId, String sStoreId, String sColPickUnqNo, String fromDt, String toDt, String sRtnWhsId, String sSpplyId, String sWhsId, String sItemNm, GridRequest gridRequest) throws Exception {
|
|
1095
|
+ public GridResponse selectRtnStockResultList(String sBrandId, String sStoreId, String sColPickUnqNo, String fromDt, String toDt, String sRtnWhsId, String sSpplyId, String sWhsId, String sItemNm, String sRtnPodrUnqNo, GridRequest gridRequest) throws Exception {
|
1096
|
1096
|
int gridPage = gridRequest.getGridPage();
|
1097
|
1097
|
int gridSize = gridRequest.getGridSize();
|
1098
|
1098
|
|
1099
|
1099
|
fromDt = fromDt == null ? null : fromDt.replace(".", "");
|
1100
|
1100
|
toDt = toDt == null ? null : toDt.replace(".", "");
|
1101
|
1101
|
|
1102
|
|
- int gridRecords = colOdrMapper.selectColRtnInstResultGridCnt(sBrandId, sStoreId,sColPickUnqNo, fromDt, toDt, sSpplyId, sRtnWhsId, sWhsId, sItemNm);
|
|
1102
|
+ int gridRecords = colOdrMapper.selectColRtnInstResultGridCnt(sBrandId, sStoreId,sColPickUnqNo, sRtnPodrUnqNo, fromDt, toDt, sSpplyId, sRtnWhsId, sWhsId, sItemNm);
|
1103
|
1103
|
int gridTotal = fnCalculateGridTotal(gridSize, gridRecords);
|
1104
|
|
- List<PickInfoMgntEntity> entities = colOdrMapper.selectColRtnInstResultGridList(sBrandId, sStoreId, sColPickUnqNo, fromDt, toDt, sSpplyId, sRtnWhsId, sWhsId, sItemNm, gridRequest);
|
|
1104
|
+ List<PickInfoMgntEntity> entities = colOdrMapper.selectColRtnInstResultGridList(sBrandId, sStoreId, sColPickUnqNo, sRtnPodrUnqNo, fromDt, toDt, sSpplyId, sRtnWhsId, sWhsId, sItemNm, gridRequest);
|
1105
|
1105
|
List<Object> gridRows = entities.stream()
|
1106
|
1106
|
.map(m -> RtnColStockResultResponse.builder()
|
1107
|
1107
|
.viewCd("R")
|