청약 정보 조회 화면 => 사업자 번호, 결합여부 추가

This commit is contained in:
kubo8
2022-11-21 10:19:10 +09:00
parent c83300ecf2
commit a678bb5a99
3 changed files with 23 additions and 9 deletions

View File

@@ -195,7 +195,7 @@ export default {
name: 'serviceId',
header: '서비스 ID\n(관리자 ID)',
align: 'center',
width: '12%',
width: '10%',
renderer: {
type: CustomATagRenderer,
options: {
@@ -203,13 +203,15 @@ export default {
},
},
},
{ name: 'custNm', header: '고객사명', align: 'center', width: '12%' },
{ name: 'regNo', header: '가입번호', align: 'center', width: '12%' },
{ name: 'regDt', header: '가입', align: 'center', width: '12%', cls: 'td_line' },
{ name: 'stat', header: '상태', align: 'center', width: '12%' },
{ name: 'channel', header: '유치채널', align: 'center', width: '12%' },
{ name: 'plan', header: '요금제', align: 'center', width: '12%' },
{ name: 'carryOver', header: '이월누적금액', align: 'center', width: '12%' },
{ name: 'custNm', header: '고객사명', align: 'center', width: '10%' },
{ name: 'bizrNo', header: '사업자번호', align: 'center', width: '10%' },
{ name: 'regNo', header: '가입번호', align: 'center', width: '10%' },
{ name: 'regDt', header: '가입일', align: 'center', width: '10%', cls: 'td_line' },
{ name: 'stat', header: '상태', align: 'center', width: '10%' },
{ name: 'channel', header: '유치채널', align: 'center', width: '8%' },
{ name: 'bindDcYn', header: '결합여부', align: 'center', width: '8%' },
{ name: 'plan', header: '요금제', align: 'center', width: '10%' },
{ name: 'carryOver', header: '이월누적금액', align: 'center', width: '10%' },
],
noDataStr: '검색 결과가 없습니다.',
params: {

View File

@@ -15,6 +15,8 @@ public class SubsList implements Serializable {
private String serviceId;
@ApiModelProperty(example = "고객사명", name = "고객사명", dataType = "String")
private String custNm;
@ApiModelProperty(example = "사업자번호", name = "사업자번호", dataType = "String")
private String bizrNo;
@ApiModelProperty(example = "가입번호", name = "가입번호", dataType = "String")
private String regNo;
@ApiModelProperty(example = "가입일", name = "가입일", dataType = "String")
@@ -23,6 +25,8 @@ public class SubsList implements Serializable {
private String stat;
@ApiModelProperty(example = "유치채널", name = "유치채널", dataType = "String")
private String channel;
@ApiModelProperty(example = "결합여부", name = "결합여부", dataType = "String")
private String bindDcYn;
@ApiModelProperty(example = "요금제", name = "요금제", dataType = "String")
private String plan;
@ApiModelProperty(example = "이월누적금액", name = "이월누적금액", dataType = "String")

View File

@@ -29,6 +29,7 @@
@ROWNUM := @ROWNUM + 1 AS NO
, A.SERVICE_ID
, A.CUST_NM
, A.BIZR_NO
, A.REG_NO
, A.REG_DT
, (
@@ -65,6 +66,7 @@
WHERE
PROD_CD = A.PROD_CD
) AS PLAN
, A.BIND_DC_YN
, IFNULL((SELECT CFWD_AMT FROM hubez_admin.EZ_USER_LMT WHERE USER_SEQ = A.adminSeq AND LMT_YM = DATE_FORMAT(NOW(), '%Y%m')), 0) AS CARRY_OVER -- 년월까지만 비교 해야 함.
FROM
(
@@ -75,12 +77,14 @@
ELSE
eci.CUST_NM
END AS CUST_NM,
eci.BIZRNO AS BIZR_NO,
esi.ENTR_NO as REG_NO,
DATE_FORMAT(esi.SUBS_DT, '%Y-%m-%d') AS REG_DT,
esi.SUBS_STTUS_CD ,
esi.PROD_CD,
esi.USER_SEQ as adminSeq,
esi.ATTRCTOR_ID as attrctorId,
esi.BIND_DC_YN,
eiu.EX_PROVUSERTYPE
FROM
hubez_common.EZ_SUBS_INFO esi
@@ -104,6 +108,7 @@
@ROWNUM := @ROWNUM + 1 AS NO
, A.SERVICE_ID
, A.CUST_NM
, A.BIZR_NO
, A.REG_NO
, A.REG_DT
, (
@@ -143,6 +148,7 @@
WHERE
PROD_CD = A.PROD_CD
) AS PLAN
, A.BIND_DC_YN
, IFNULL((SELECT CFWD_AMT FROM hubez_admin.EZ_USER_LMT WHERE USER_SEQ = A.adminSeq AND LMT_YM = DATE_FORMAT(NOW(), '%Y%m')), 0) AS CARRY_OVER -- 년월까지만 비교 해야 함.
FROM
(
@@ -153,11 +159,13 @@
ELSE
eci.CUST_NM
END AS CUST_NM,
eci.BIZRNO AS BIZR_NO,
esi.ENTR_NO as REG_NO,
DATE_FORMAT(esi.SUBS_DT, '%Y-%m-%d') AS REG_DT,
esi.SUBS_STTUS_CD ,
esi.PROD_CD,
esi.USER_SEQ as adminSeq,
esi.BIND_DC_YN,
esi.ATTRCTOR_ID as attrctorId
FROM
hubez_common.EZ_SUBS_INFO esi