@@ -775,8 +775,7 @@
where cw_prnl.report_no like concat('%',#{reportType},'%') and a.number is not null
and a.del_flag = '0'
ORDER BY
- CAST(SUBSTRING(cw_prnl.report_no, 7, 4) AS UNSIGNED) DESC,
- CAST(SUBSTRING(cw_prnl.report_no, 12, LENGTH(cw_prnl.report_no)-12) AS UNSIGNED) DESC
+ a.audit_date DESC
LIMIT 1;
</select>