키 채번 오류 수정

main
이범준 4 months ago
parent 84b1a7ebee
commit 2a05c3f701

@ -32,7 +32,7 @@ FROM DUAL
</sql>
<sql id="keyBySggAndYear">
SELECT CONCAT(<include refid="utility.currentYear" />, LPAD(CAST(
SELECT CONCAT(${sggCd}, <include refid="utility.currentYear" />, LPAD(CAST(
CASE
WHEN (SELECT MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1 FROM ${TABLE_NAME}
WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, <include refid="utility.currentYear" />, '%')) IS NULL OR

Loading…
Cancel
Save