mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:33:37 +09:00
결합할인여부 수정 기능 개발
This commit is contained in:
@@ -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