TC 수정건

This commit is contained in:
kimre
2022-07-18 20:33:48 +09:00
parent a6c6db6f22
commit 2069d87f49
12 changed files with 789 additions and 752 deletions

View File

@@ -813,14 +813,14 @@ public class CustMgtService {
logger.debug("[Email Send Request - templeteCode : {}]", mailReqMap.get("templeteCode"));
logger.debug("[Email Send Request - homeUrl : {}]", mailReqMap.get("homeUrl"));
// mailResultMap = hubeasyApi.sendTemplateMailApi(mailReqMap);
//
// if (mailResultMap != null) {
// logger.debug("[Email Send API RESULT : {}]", mailResultMap.get("API_RSLT"));
// if ("F".equals(mailResultMap.get("API_RSLT"))) {
// logger.debug("[Email Send API ERROR : {}]", mailResultMap.get("API_RSLT_MSG"));
// }
// }
mailResultMap = hubeasyApi.sendTemplateMailApi(mailReqMap);
if (mailResultMap != null) {
logger.debug("[Email Send API RESULT : {}]", mailResultMap.get("API_RSLT"));
if ("F".equals(mailResultMap.get("API_RSLT"))) {
logger.debug("[Email Send API ERROR : {}]", mailResultMap.get("API_RSLT_MSG"));
}
}
logger.debug("############## [Email Send End] ###############");
} catch (Exception e) {

View File

@@ -440,6 +440,10 @@ public class SendNumMgtService {
SendNumMgtMapper sendNumMgtMapper = sqlSessionMaster.getMapper(SendNumMgtMapper.class);
Object principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();
UserDetails userDetails = (UserDetails) principal;
String regId = userDetails.getUsername();
// 발신번호 메모 업데이트. upddateSndrnoReg
int totalCnt = updateApprReqDto.getList().size();
int apvCnt = 0;
@@ -450,7 +454,7 @@ public class SendNumMgtService {
}else if(StringUtils.equals(Const.SNDRNO_STTUS_CD_REJECT, updateApprSendNumber.getSttusCd())){
rejtCnt++;
}
updateApprSendNumber.setAdminId(updateApprReqDto.getAdminId());
updateApprSendNumber.setAdminId(regId);
sendNumMgtMapper.updateSndrno(updateApprSendNumber);
}
@@ -466,17 +470,6 @@ public class SendNumMgtService {
int result = sendNumMgtMapper.upddateSndrnoReg(updateApprReqDto);
if(result > 0){
}
// 발신번호 상태 변경. updateSndrno
//result = sendNumMgtMapper.updateSndrno(updateApprReqDto);
if(result > 0){
}
// 승인건이 1건이상이면 사업자 인증 'Y'
if(apvCnt > 0){
sendNumMgtMapper.updateSvcUser(updateApprReqDto);

View File

@@ -388,7 +388,7 @@
SELECT
@ROWNUM := @ROWNUM + 1 AS NO
, A.SEQ_NO
, A.BLCK_TP_CD
,(SELECT ecd.DTL_CD_NM FROM hubez_common.EZ_CD_DTL ecd WHERE ecd.GRP_CD = 'WEBBLCK_TP_CD' AND DTL_CD = A.BLCK_TP_CD) AS BLCK_TP_CD
, A.CUST_SEQ
, A.USER_SEQ
, A.USER_ID