mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 00:17:26 +09:00
admin_chrg 유저ID 조회 수정
This commit is contained in:
@@ -1200,12 +1200,10 @@
|
||||
WHERE 1 = 1
|
||||
AND ecm.USE_YN ='Y'
|
||||
AND esi.SUBS_STTUS_CD ='02'
|
||||
<if test="startDt != null and startDt != ''">
|
||||
AND (ecm.STRT_YM <![CDATA[ >= ]]> STR_TO_DATE(concat(REPLACE(#{startDt}, '-', '' ),'000000') , '%Y%m')
|
||||
</if>
|
||||
<if test="endDt != null and endDt != ''">
|
||||
OR ecm.END_YM <![CDATA[ <= ]]> STR_TO_DATE(concat(REPLACE(#{endDt}, '-', '' ),'235959'), '%Y%m'))
|
||||
</if>
|
||||
AND (#{startDt} BETWEEN ecm.STRT_YM AND ecm.END_YM
|
||||
OR #{endDt} BETWEEN ecm.STRT_YM AND ecm.END_YM
|
||||
OR ecm.STRT_YM BETWEEN #{startDt} AND #{endDt}
|
||||
OR ecm.END_YM BETWEEN #{startDt} AND #{endDt})
|
||||
<if test="searchType1 != null and searchType1 != ''">
|
||||
<if test="searchType1 == '01' and searchText1 != null and searchText1 != ''">
|
||||
AND UPPER(eci.CUST_NM) LIKE UPPER(CONCAT('%', #{searchText1}, '%'))
|
||||
@@ -1242,6 +1240,42 @@
|
||||
ORDER BY ecm.CHRG_SEQ DESC
|
||||
</select>
|
||||
|
||||
<!-- 유저ID 카운트 조회 -->
|
||||
<select id="selectuserTotalCnt" parameterType="kr.co.uplus.ez.api.custMgt.dto.UserListReqDto" resultType="int">
|
||||
/* custMgt-mapper.xml(getChrgSeq) */
|
||||
SELECT
|
||||
COUNT(*)
|
||||
FROM hubez_common.EZ_SVC_USER esu
|
||||
INNER JOIN hubez_common.EZ_SUBS_INFO esi ON esi.USER_SEQ = esu.USER_SEQ
|
||||
INNER JOIN hubez_common.EZ_CUST_INFO eci ON eci.CUST_SEQ = esu.CUST_SEQ
|
||||
WHERE 1 = 1
|
||||
AND esu.USER_TP_CD ='01'
|
||||
AND esi.SUBS_STTUS_CD ='02'
|
||||
AND esu.USER_ID LIKE CONCAT('%' , #{searchText1}, '%')
|
||||
</select>
|
||||
|
||||
<!-- 유저ID 목록 조회 -->
|
||||
<select id="selectUserList" parameterType="kr.co.uplus.ez.api.custMgt.dto.UserListReqDto" resultType="kr.co.uplus.ez.api.custMgt.dto.UserinInfo">
|
||||
/* custMgt-mapper.xml(getChrgSeq) */
|
||||
SELECT
|
||||
esu.USER_ID
|
||||
, eci.CUST_NM
|
||||
, esu.USER_SEQ
|
||||
, esu.USER_STTUS_CD
|
||||
, esu.USER_TP_CD
|
||||
FROM hubez_common.EZ_SVC_USER esu
|
||||
INNER JOIN hubez_common.EZ_SUBS_INFO esi ON esi.USER_SEQ = esu.USER_SEQ
|
||||
INNER JOIN hubez_common.EZ_CUST_INFO eci ON eci.CUST_SEQ = esu.CUST_SEQ
|
||||
WHERE 1 = 1
|
||||
AND esu.USER_TP_CD ='01'
|
||||
AND esi.SUBS_STTUS_CD ='02'
|
||||
AND esu.USER_ID LIKE CONCAT('%' , #{searchText1}, '%')
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 이용자 충전번호 조회(채번) -->
|
||||
<select id="getChrgSeq" resultType="String">
|
||||
/* custMgt-mapper.xml(getChrgSeq) */
|
||||
|
||||
Reference in New Issue
Block a user