mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 22:19:41 +09:00
결합할인여부 수정 기능 개발
This commit is contained in:
@@ -88,6 +88,13 @@
|
|||||||
<td colspan="2"><input type="text" disabled v-model="plan" /></td>
|
<td colspan="2"><input type="text" disabled v-model="plan" /></td>
|
||||||
<th>가입번호</th>
|
<th>가입번호</th>
|
||||||
<td colspan="2"><input type="text" disabled v-model="subsNo" /></td>
|
<td colspan="2"><input type="text" disabled v-model="subsNo" /></td>
|
||||||
|
<th>결합할인여부</th>
|
||||||
|
<td colspan="1">
|
||||||
|
<select name="" id="" v-model="bindDcYn">
|
||||||
|
<option value="Y">Y</option>
|
||||||
|
<option value="N">N</option>
|
||||||
|
</select>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="tr_input w75">
|
<tr class="tr_input w75">
|
||||||
<th>관리자명</th>
|
<th>관리자명</th>
|
||||||
@@ -221,6 +228,7 @@ export default {
|
|||||||
userCnt: '',
|
userCnt: '',
|
||||||
saveConfirm: false,
|
saveConfirm: false,
|
||||||
props: {},
|
props: {},
|
||||||
|
bindDcYn: '',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
@@ -313,6 +321,7 @@ export default {
|
|||||||
this.email = result.data.email;
|
this.email = result.data.email;
|
||||||
this.carryOver = result.data.carryOver;
|
this.carryOver = result.data.carryOver;
|
||||||
this.userCnt = result.data.userCnt;
|
this.userCnt = result.data.userCnt;
|
||||||
|
this.bindDcYn = result.data.bindDcYn;
|
||||||
if (this.bregNo != '' && this.bregNo != null) {
|
if (this.bregNo != '' && this.bregNo != null) {
|
||||||
this.bregNo1 = this.bregNo.substr(0, 3);
|
this.bregNo1 = this.bregNo.substr(0, 3);
|
||||||
this.bregNo2 = this.bregNo.substr(3, 2);
|
this.bregNo2 = this.bregNo.substr(3, 2);
|
||||||
@@ -339,6 +348,7 @@ export default {
|
|||||||
this.row.serviceId = this.$route.params.serviceId;
|
this.row.serviceId = this.$route.params.serviceId;
|
||||||
this.row.adminId = this.adminId;
|
this.row.adminId = this.adminId;
|
||||||
this.row.adminNm = this.adminNm;
|
this.row.adminNm = this.adminNm;
|
||||||
|
this.row.bindDcYn = this.bindDcYn;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const response = await custMgtApi.updateAdminInfo(this.row);
|
const response = await custMgtApi.updateAdminInfo(this.row);
|
||||||
|
|||||||
@@ -248,6 +248,7 @@ public class CustMgtService {
|
|||||||
subsDetail.setAdminId(adminInfoReqDto.getAdminId());
|
subsDetail.setAdminId(adminInfoReqDto.getAdminId());
|
||||||
subsDetail.setAdminNm(adminInfoReqDto.getAdminNm());
|
subsDetail.setAdminNm(adminInfoReqDto.getAdminNm());
|
||||||
subsDetail.setServiceId(adminInfoReqDto.getServiceId());
|
subsDetail.setServiceId(adminInfoReqDto.getServiceId());
|
||||||
|
subsDetail.setBindDcYn(adminInfoReqDto.getBindDcYn());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
custMgtMapper.updateAdminInfo(subsDetail);
|
custMgtMapper.updateAdminInfo(subsDetail);
|
||||||
|
|||||||
@@ -57,5 +57,7 @@ public class SubsDetail implements Serializable {
|
|||||||
private String carryOver;
|
private String carryOver;
|
||||||
@ApiModelProperty(example = "사용자ID개수", name = "사용자ID개수", dataType = "String")
|
@ApiModelProperty(example = "사용자ID개수", name = "사용자ID개수", dataType = "String")
|
||||||
private String userCnt;
|
private String userCnt;
|
||||||
|
@ApiModelProperty(example = "결합할인여부", name = "결합할인여부", dataType = "String")
|
||||||
|
private String bindDcYn;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -18,4 +18,7 @@ public class UpdateAdminInfoReqDto implements Serializable {
|
|||||||
@ApiModelProperty(example = "서비스ID", name = "서비스ID", dataType = "String")
|
@ApiModelProperty(example = "서비스ID", name = "서비스ID", dataType = "String")
|
||||||
private String serviceId;
|
private String serviceId;
|
||||||
|
|
||||||
|
@ApiModelProperty(example = "결합할인여부", name = "결합할인여부", dataType = "String")
|
||||||
|
private String bindDcYn;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -385,6 +385,7 @@
|
|||||||
esi.ATTRCTOR_NM AS CHANNEL_NM,
|
esi.ATTRCTOR_NM AS CHANNEL_NM,
|
||||||
esi.SUBSMNGR_ID AS ADMIN_ID,
|
esi.SUBSMNGR_ID AS ADMIN_ID,
|
||||||
esi.SUBSMNGR_NM AS ADMIN_NM,
|
esi.SUBSMNGR_NM AS ADMIN_NM,
|
||||||
|
esi.BIND_DC_YN,
|
||||||
-- 사용자 데이터
|
-- 사용자 데이터
|
||||||
esu.USER_ID as SERVICE_ID,
|
esu.USER_ID as SERVICE_ID,
|
||||||
esu.USER_SEQ,
|
esu.USER_SEQ,
|
||||||
@@ -422,6 +423,7 @@
|
|||||||
SET
|
SET
|
||||||
CHG_ID = #{serviceId}
|
CHG_ID = #{serviceId}
|
||||||
,CHG_DT = NOW()
|
,CHG_DT = NOW()
|
||||||
|
,BIND_DC_YN = #{bindDcYn}
|
||||||
<if test="adminId != null and adminId != ''">
|
<if test="adminId != null and adminId != ''">
|
||||||
,SUBSMNGR_ID= #{adminId}
|
,SUBSMNGR_ID= #{adminId}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user