mirror of
http://git.mhez-qa.uplus.co.kr/hubez/hubez-admin.git
synced 2025-12-07 01:31:22 +09:00
admin_chrg db수정
This commit is contained in:
@@ -1011,7 +1011,7 @@ public class CustMgtService {
|
||||
|
||||
String nowPage = String.valueOf(chrgListReqDto.getPage());
|
||||
int totalCnt = custMgtMapper.cntChrgList(chrgListReqDto);
|
||||
|
||||
logger.debug("getStartDt={}",chrgListReqDto.getStartDt());
|
||||
if (totalCnt == 0) {
|
||||
|
||||
ChrgListRes chrgListRes = new ChrgListRes();
|
||||
|
||||
@@ -1156,12 +1156,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}, '%'))
|
||||
|
||||
Reference in New Issue
Block a user