修改bug#40897

This commit is contained in:
梁琦涛
2021-10-29 09:48:20 +08:00
parent ebc9a8e4db
commit 33b962037f
@@ -80,7 +80,6 @@
LEFT JOIN pay_pack_company ppc ON ppc.id = ppcp.pack_id
LEFT JOIN pay_income_contract_associated pica ON pica.project_id = pcp.id
${ew.customSqlSegment}
AND ( ppc.id IS NULL OR ppc.id = '' )
AND ( pica.id IS NULL OR pica.id = '' )
<if test="pack == 1 and packYear != '' and packYear != null">
AND (ppc.pack_year=#{packYear} or ppc.pack_year is null or ppc.pack_year = '')