mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 04:27:21 +09:00
반려 목록 출력
This commit is contained in:
@@ -107,11 +107,12 @@ public class ChannelMgtService {
|
||||
* @param tmpltListReqDto
|
||||
* @return
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({ "unchecked", "null" })
|
||||
public TmpltListResDto tmpltRejectList(TmpltListReqDto tmpltListReqDto) {
|
||||
RjtTmpltListRes tmpltListRes = new RjtTmpltListRes();
|
||||
Map<Object, Object> apiResultMap = null;
|
||||
List<Map<Object,Object>> dataListMap = null;
|
||||
List<Map<Object,Object>> dataTempListMap = null;
|
||||
List<Map<Object,Object>> rjtDataListMap = null;
|
||||
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
@@ -132,7 +133,12 @@ public class ChannelMgtService {
|
||||
Map<Object, Object> dataTempMap = dataListMap.get(0);
|
||||
|
||||
if(dataTempMap.get("comments") != null && !"".equals(dataTempMap.get("comments"))) {
|
||||
rjtDataListMap = (List<Map<Object, Object>>) dataTempMap.get("comments");
|
||||
dataTempListMap = (List<Map<Object, Object>>) dataTempMap.get("comments");
|
||||
for(Map<Object, Object> rejectMap : dataTempListMap) {
|
||||
if("REJ".equals(rejectMap.get("status"))) {
|
||||
rjtDataListMap.add(rejectMap);
|
||||
}
|
||||
}
|
||||
tmpltListRes.setList(rjtDataListMap);
|
||||
}
|
||||
return new TmpltListResDto(ApiResponseCode.SUCCESS, tmpltListRes);
|
||||
|
||||
Reference in New Issue
Block a user