이지우 - 문자 발송 완료 상태 조건 변경(총 건수==성공or실패 건수 -> 총 건수==성공+실패 건수)

This commit is contained in:
JIWOO 2025-06-27 17:15:25 +09:00
parent eca7f57a41
commit 6bc68150e3

View File

@ -841,8 +841,8 @@ public class MjonMsgSentServiceImpl extends EgovAbstractServiceImpl implements
&& result.getDiffMin() < -5 // 예약 시간이 5분 이상인 것들만
) {
returnCode = "03"; // 예약대기 코드 ( 예약취소 버튼 노출 )
} else if (result.getMsgGroupCnt().equals(result.getResultSValue())
|| result.getMsgGroupCnt().equals(result.getResultFValue())) {
} else if (Integer.parseInt(result.getMsgGroupCnt()) == Integer.parseInt(result.getResultSValue()) + Integer.parseInt(result.getResultFValue())
) {
returnCode = "02"; // 완료 코드
} else {
returnCode = "01"; // 진행중 코드