Parcourir la source

报告归档-盒号提示-添加当前年份筛选

huangguoce il y a 1 mois
Parent
commit
ede8800b11

+ 1 - 0
jeeplus-modules/jeeplus-finance/src/main/java/com/jeeplus/finance/projectReportArchive/mapper/xml/CwProjectReportArchiveMapper.xml

@@ -787,6 +787,7 @@
             left join sys_user su on su.id = a.create_by_id and su.del_flag = '0'
         where cw_prnl.report_no
             like concat('%',#{reportType},'%')
+            and cw_prnl.report_no LIKE concat('%', YEAR(CURDATE()), '%')
             and a.number is not null
             and a.del_flag = '0'
             and a.status = '5'