fix: 심사자 - 심사대상 조회 SQL 반영

main
minuk926 2 years ago
parent c32119dddf
commit 57bb57f1a8

@ -372,7 +372,7 @@
, tf680_recall TR
WHERE MS.ms_maincode = MSU.msu_maincode
AND DECODE(MS.ms_result, '1', '1', '2', '2', '0') = '0'
AND MS.ms_cdate >= SYSDATE
AND MS.ms_cdate >= TO_CHAR(SYSDATE, 'YYYY-mm-dd')
AND MS.ms_maincode = TR.rc_code
AND MSU.msu_userid = #{msuUserid}
ORDER BY MS.ms_sdate, MS.ms_edate, MS.ms_seq

@ -618,7 +618,7 @@
, gn_recall_sc GR
WHERE MS.ms_maincode = MSU.msu_maincode
AND DECODE(MS.ms_result, '1', '1', '2', '2', '0') = '0'
AND MS.ms_cdate >= SYSDATE
AND MS.ms_cdate >= TO_CHAR(SYSDATE, 'YYYY-mm-dd')
AND MSU.msu_userid = #{msuUserid}
AND MS.ms_maincode = GR.sc_code
<if test="msDatagb != null and msDatagb != ''">

Loading…
Cancel
Save