mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 00:33:12 +09:00
알림톡 조회, 차단내역 수정
This commit is contained in:
@@ -659,7 +659,7 @@
|
||||
|
||||
<select id="selectCustDstatList" parameterType="kr.co.uplus.ez.api.stats.dto.BsnmDayListReqDto" resultType="kr.co.uplus.ez.api.stats.dto.BsnmDayList">
|
||||
/* stats-mapper.xml(selectCustDstatList) */
|
||||
select DATE_FORMAT(t1.SUM_YMD, '%Y-%m') AS SUM_YMD
|
||||
select DATE_FORMAT(t1.SUM_YMD, '%Y-%m-%d') AS SUM_YMD
|
||||
, t1.CUST_NM AS CUST_NM
|
||||
, t1.BIZRNO AS BIZRNO
|
||||
, (t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) AS SND_CNT
|
||||
@@ -692,7 +692,7 @@
|
||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||
<include refid="custDstatListCondition"/>
|
||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD, ecm.USER_SEQ
|
||||
) list
|
||||
LIMIT #{page}, #{pagePerRows}
|
||||
) t1 inner join (
|
||||
@@ -769,7 +769,7 @@
|
||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||
<include refid="custDstatListCondition"/>
|
||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||
) list
|
||||
LIMIT #{page}, #{pagePerRows}
|
||||
) list
|
||||
@@ -796,7 +796,7 @@
|
||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||
<include refid="custDstatListCondition"/>
|
||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||
) list
|
||||
LIMIT #{page}, #{pagePerRows}
|
||||
) list
|
||||
@@ -812,7 +812,7 @@
|
||||
|
||||
<select id="selectCustDstatExcelList" parameterType="kr.co.uplus.ez.api.stats.dto.BsnmDayListExcelReqDto" resultType="kr.co.uplus.ez.api.stats.dto.BsnmDayList">
|
||||
/* stats-mapper.xml(selectCustDstatExcelList) */
|
||||
select DATE_FORMAT(t1.SUM_YMD, '%Y-%m') AS SUM_YMD
|
||||
select DATE_FORMAT(t1.SUM_YMD, '%Y-%m-%d') AS SUM_YMD
|
||||
, t1.CUST_NM AS CUST_NM
|
||||
, t1.BIZRNO AS BIZRNO
|
||||
, (t2.sndCntS + t2.sndCntL + t2.sndCntM + t2.sndCntR) AS SND_CNT
|
||||
@@ -845,7 +845,7 @@
|
||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||
<include refid="custDstatListCondition"/>
|
||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||
) list
|
||||
) t1 inner join (
|
||||
select SUM_YMD
|
||||
@@ -921,7 +921,7 @@
|
||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||
<include refid="custDstatListCondition"/>
|
||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||
) list
|
||||
) list
|
||||
on list.SUM_YMD = ecm.SUM_YMD and list.USER_SEQ = ecm.USER_SEQ
|
||||
@@ -947,7 +947,7 @@
|
||||
AND SUM_YMD BETWEEN DATE_FORMAT(#{startDay},'%Y%m%d') AND DATE_FORMAT(#{endDay},'%Y%m%d')
|
||||
<include refid="custDstatListCondition"/>
|
||||
group by ecm.SUM_YMD , ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD DESC, ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YMD , ecm.USER_SEQ
|
||||
) list
|
||||
) list
|
||||
on list.SUM_YMD = ecm.SUM_YMD and list.USER_SEQ = ecm.USER_SEQ
|
||||
|
||||
Reference in New Issue
Block a user