|
|
|
@ -170,7 +170,7 @@
|
|
|
|
|
sc_state
|
|
|
|
|
) VALUES (
|
|
|
|
|
gn_recall_sc_seq.NEXTVAL,
|
|
|
|
|
(SELECT RPAD(NVL(MAX(e.sc_seq), '2022'), 10, '0') + 1
|
|
|
|
|
(SELECT RPAD(NVL(MAX(e.sc_seq), #{curYear}), 10, '0') + 1
|
|
|
|
|
FROM gn_recall_sc e
|
|
|
|
|
WHERE e.sc_datagb = #{scDatagb}
|
|
|
|
|
AND e.sc_seq LIKE #{curYear} ||'%'),
|
|
|
|
|