TC 수정

This commit is contained in:
kimre
2022-07-18 21:09:47 +09:00
parent 8475672b02
commit f9d6fe61ca
2 changed files with 16 additions and 13 deletions

View File

@@ -151,10 +151,6 @@ export default {
this.nData = []; this.nData = [];
this.oData = []; this.oData = [];
const file = event.target.files[0]; const file = event.target.files[0];
// 파일 개수 제한 // 파일 개수 제한
@@ -320,14 +316,21 @@ export default {
if (result != null && result.retCode == '0000') { if (result != null && result.retCode == '0000') {
//this.totalCnt = result.data.totalCnt; //this.totalCnt = result.data.totalCnt;
this.successCnt = result.data.successCnt; this.successCnt = result.data.successCnt;
this.failCnt = Number(this.failCnt) + Number(result.data.failCnt); console.log(this.oData.length);
this.failCnt = Number(this.oData.length) + Number(result.data.failCnt);
if (result.data.failCnt > 0) { if (result.data.failCnt > 0) {
this.row.totalCnt = this.insertRowCnt this.row.totalCnt = this.insertRowCnt
this.row.successCnt = this.successCnt this.row.successCnt = this.successCnt
this.row.failCnt = this.failCnt this.row.failCnt = this.failCnt
this.oData = [];
this.nData = [];
this.$refs.file.value = null;
this.$parent.$refs.validationConfirmPopModal.failFileuploadOpen(this.row); this.$parent.$refs.validationConfirmPopModal.failFileuploadOpen(this.row);
} else { } else {
this.oData = [];
this.nData = [];
this.$refs.file.value = null;
this.$parent.$refs.validationConfirmPopModal.successFileuploadOpen(); this.$parent.$refs.validationConfirmPopModal.successFileuploadOpen();
} }
} }

View File

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