|
|
|
|
@ -23,8 +23,9 @@ public interface ReportProjectMapper extends BaseMapper<ReportProject> {
|
|
|
|
|
" UNION SELECT 9 UNION SELECT 10 UNION SELECT 11 UNION SELECT 12 " + |
|
|
|
|
") months " + |
|
|
|
|
"LEFT JOIN report_project rp " + |
|
|
|
|
" ON MONTH(rp.crt_time) = months.month " + |
|
|
|
|
" AND YEAR(rp.crt_time) = #{year} " + |
|
|
|
|
" ON MONTH(rp.archiving) = months.month " + |
|
|
|
|
" AND YEAR(rp.archiving) = #{year} " + |
|
|
|
|
" AND rp.node = 'end' " + |
|
|
|
|
" AND rp.delete_flag = 0 " + |
|
|
|
|
"GROUP BY months.month " + |
|
|
|
|
"ORDER BY months.month") |
|
|
|
|
|