mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-06 23:34:18 +09:00
월별통계 order by 최신 날짜, 고객사명 가나다 순 정렬
This commit is contained in:
@@ -762,7 +762,7 @@
|
||||
) t2 on t2.SUM_YM = t1.SUM_YM and t2.USER_SEQ = t1.USER_SEQ
|
||||
<include refid="custMstatListCondition"/>
|
||||
GROUP BY t1.BIZRNO, t1.SUM_YM
|
||||
ORDER BY t1.SUM_YM desc
|
||||
ORDER BY t1.SUM_YM desc, t1.CUST_NM;
|
||||
</select>
|
||||
|
||||
<select id="selectCustMstatExcelList" parameterType="kr.co.uplus.ez.api.stats.dto.BsnmMonthListExcelReqDto" resultType="kr.co.uplus.ez.api.stats.dto.BsnmMonthList">
|
||||
@@ -795,7 +795,7 @@
|
||||
AND SUM_YM BETWEEN STR_TO_DATE(CONCAT(#{startMon},'01'),'%Y%m%d') AND STR_TO_DATE(CONCAT(#{endMon},'01'),'%Y%m%d')
|
||||
<!-- <include refid="custMstatListCondition"/> -->
|
||||
group by ecm.SUM_YM , ecm.USER_SEQ
|
||||
ORDER BY ecm.SUM_YM DESC, ecm.USER_SEQ
|
||||
-- ORDER BY ecm.SUM_YM DESC, ecm.USER_SEQ
|
||||
) list
|
||||
<!-- 추가분 (시작) -->
|
||||
UNION ALL
|
||||
@@ -947,7 +947,7 @@
|
||||
<!-- order by t1.SUM_YM, t1.USER_SEQ -->
|
||||
<include refid="custMstatListCondition"/>
|
||||
GROUP BY t1.BIZRNO, t1.SUM_YM
|
||||
ORDER BY t1.SUM_YM desc
|
||||
ORDER BY t1.SUM_YM desc, t1.CUST_NM;
|
||||
</select>
|
||||
|
||||
<select id="selectCustDstatListTotalCnt" parameterType="kr.co.uplus.ez.api.stats.dto.BsnmDayListReqDto" resultType="int">
|
||||
|
||||
Reference in New Issue
Block a user