mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 17:43:44 +09:00
webReqId 채번 수정
This commit is contained in:
@@ -187,7 +187,7 @@ public class CommService {
|
||||
|
||||
CommMapper commMapper = sqlSessionMaster.getMapper(CommMapper.class);
|
||||
// webReqId 채번
|
||||
String prefix = DateUtil.getCurrentDate("yyyyMMdd");
|
||||
String prefix = (String) ezMsgMap.get("prefix");
|
||||
String webReqId = prefix + ezMsgMap.get(WEB_REQ_ID);
|
||||
|
||||
Map<Object, Object> newezMsgMap = new HashMap<Object, Object>();
|
||||
@@ -213,7 +213,7 @@ public class CommService {
|
||||
public Map<Object, Object> sendMsgHist(Map<Object, Object>msgHistMap) {
|
||||
CommMapper commMapper = sqlSessionMaster.getMapper(CommMapper.class);
|
||||
// webReqId 채번
|
||||
String prefix = DateUtil.getCurrentDate("yyyyMMdd");
|
||||
String prefix = (String) msgHistMap.get("prefix");
|
||||
String webReqId = prefix + msgHistMap.get(WEB_REQ_ID);
|
||||
|
||||
//알림 이력 insert
|
||||
|
||||
@@ -73,6 +73,7 @@ import kr.co.uplus.ez.common.data.ApiResponseCode;
|
||||
import kr.co.uplus.ez.common.data.Const;
|
||||
import kr.co.uplus.ez.common.data.Paging;
|
||||
import kr.co.uplus.ez.common.utils.CommonUtils;
|
||||
import kr.co.uplus.ez.common.utils.DateUtil;
|
||||
import kr.co.uplus.ez.common.utils.DateUtils;
|
||||
import kr.co.uplus.ez.common.utils.FileIoUtils;
|
||||
import kr.co.uplus.ez.common.utils.FileUtil;
|
||||
@@ -720,10 +721,12 @@ public class SendNumMgtService {
|
||||
|
||||
//4. 메시지 발송
|
||||
String WEB_REQ_ID =sendNumMgtMapper.selectSequence(commService.WEB_REQ_ID);
|
||||
String prefix = DateUtil.getCurrentDate("yyyyMMdd");
|
||||
|
||||
//알림문자 발송테이블 insert
|
||||
Map<Object, Object> ezMsgMap = new HashMap<Object, Object>();
|
||||
ezMsgMap.put("WEB_REQ_ID", WEB_REQ_ID);
|
||||
ezMsgMap.put("prefix", prefix);
|
||||
String userPhone = sendNumMgtMapper.selectUserPhoneByAdminId(adminId);
|
||||
ezMsgMap.put("phone", userPhone);
|
||||
|
||||
@@ -737,6 +740,7 @@ public class SendNumMgtService {
|
||||
//알람이력에 insert
|
||||
Map<Object, Object> msgHistMap = new HashMap<Object, Object>();
|
||||
msgHistMap.put("WEB_REQ_ID", WEB_REQ_ID);
|
||||
msgHistMap.put("prefix", prefix);
|
||||
String notiSeq = sendNumMgtMapper.selectNotiSeq();
|
||||
String userSeq = sendNumMgtMapper.selectUserSeqByAdminId(adminId);
|
||||
msgHistMap.put("userSeq", userSeq);
|
||||
|
||||
Reference in New Issue
Block a user