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