환불내역이 없을때 프로시져 실행 안하기

This commit is contained in:
hehihoho3@gmail.com 2024-12-23 09:27:15 +09:00
parent a759a9f3f2
commit 376f75d711

View File

@ -511,7 +511,7 @@ public class SchdlrManageServiceImpl extends EgovAbstractServiceImpl implements
// 리스트가 비어있는 경우 종료
if (msgFailList == null || msgFailList.isEmpty() || msgFailList.size() < 1) {
System.out.println("No payBack messages empty.");
}
}else {
try {
// 필요한 필드만 DTO로 매핑
@ -529,13 +529,14 @@ public class SchdlrManageServiceImpl extends EgovAbstractServiceImpl implements
ObjectMapper objectMapper = new ObjectMapper();
String msgFailListJson = objectMapper.writeValueAsString(dtoList);
System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
mjonMsgDataDAO.updateMsgSentFailPayBackBatch(msgFailListJson);
} catch (Exception ex) {
ex.printStackTrace();
}
}
// TODO Auto-generated method stub
}