대리점 명 오류 처리

This commit is contained in:
kubo8
2023-05-02 13:02:50 +09:00
parent 02b2d6a65d
commit a313ad89de
3 changed files with 8 additions and 4 deletions

View File

@@ -60,7 +60,7 @@
end as CHANNEL
,CASE WHEN A.NORG_NM IS NULL THEN '-'
ELSE A.NORG_NM
END AS norgNm
END AS NORG_NM
, (
SELECT
PROD_NM
@@ -148,7 +148,7 @@
) , '고객셀프가입') as CHANNEL
,CASE WHEN A.NORG_NM IS NULL THEN '-'
ELSE A.NORG_NM
END AS norgNm
END AS NORG_NM
, (
SELECT
PROD_NM
@@ -194,6 +194,7 @@
<include refid="subsListCondition"/>
ORDER BY esi.SUBS_DT DESC ) A, ( SELECT @ROWNUM := 0 ) AS R
</select>
<sql id="subsListCondition">
<if test="startDt != null and startDt != ''">
AND esi.SUBS_DT <![CDATA[ >= ]]> STR_TO_DATE(concat(REPLACE(#{startDt}, '-', '' ),'000000') , '%Y%m%d%H%i%s')