|
@@ -772,7 +772,7 @@
|
|
|
cw_prnl.report_no AS reportNo
|
|
cw_prnl.report_no AS reportNo
|
|
|
from cw_project_report_archive a
|
|
from cw_project_report_archive a
|
|
|
left join cw_project_report_new_line cw_prnl on a.report_id = cw_prnl.report_id and cw_prnl.del_flag = '0'
|
|
left join cw_project_report_new_line cw_prnl on a.report_id = cw_prnl.report_id and cw_prnl.del_flag = '0'
|
|
|
- where cw_prnl.report_no like concat('%',#{reportType},'%')
|
|
|
|
|
|
|
+ where cw_prnl.report_no like concat('%',#{reportType},'%') and a.number is not null
|
|
|
and a.del_flag = '0'
|
|
and a.del_flag = '0'
|
|
|
ORDER BY
|
|
ORDER BY
|
|
|
CAST(SUBSTRING(cw_prnl.report_no, 7, 4) AS UNSIGNED) DESC,
|
|
CAST(SUBSTRING(cw_prnl.report_no, 7, 4) AS UNSIGNED) DESC,
|