알림톡 수정 2
This commit is contained in:
parent
2ad1994249
commit
06fe04fbde
@ -185,7 +185,23 @@ public class KakaoAlimTalkServiceImpl extends EgovAbstractServiceImpl implements
|
||||
System.out.println("@@@@@@@@@@@@@@ reqDate : "+reqDate);
|
||||
kakaoVO.setReqDate(reqDate);
|
||||
kakaoSandInfo.setReqDate(reqDate);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if(kakaoVO.getDivideChk().equals("Y")) {
|
||||
SimpleDateFormat sdFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
|
||||
Date date = sdFormat.parse(sandDate);
|
||||
|
||||
Calendar cal1 = Calendar.getInstance();
|
||||
cal1.setTime(date); // 시간 설정
|
||||
cal1.add(Calendar.MINUTE, 30); // 30분 연산
|
||||
|
||||
String reqDate = sdFormat.format(cal1.getTime());
|
||||
|
||||
System.out.println("@@@@@@@@@@@@@@ reqDate : "+reqDate);
|
||||
kakaoVO.setReqDate(reqDate);
|
||||
kakaoSandInfo.setReqDate(reqDate);
|
||||
}
|
||||
}
|
||||
}else {
|
||||
/** 즉시 발송 설정 */
|
||||
SimpleDateFormat sdFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user