This commit is contained in:
linfso 2025-01-01 16:04:17 +08:00
parent b0f15170b0
commit 22fe3ae2f3

View File

@ -1242,6 +1242,26 @@
and a.send_date <![CDATA[ <= ]]> #{params.endDate}
</if>
<if test="params.blUploadGoodsPic != null and params.blUploadGoodsPic == 1">
and EXISTS (
select 1 from emis_waybill_attachment ewatm
where
ewatm.del_flag='0' and a.bill_code=ewatm.bill_code
and ewatm.attach_type='0'
)
</if>
<if test="params.blUploadGoodsPic != null and params.blUploadGoodsPic == 0">
and not EXISTS (
select 1 from emis_waybill_attachment ewatm
where
ewatm.del_flag='0' and a.bill_code=ewatm.bill_code
and ewatm.attach_type='0'
)
</if>
<if test="params.beginSendDate != null and params.beginSendDate != ''">
and a.send_date <![CDATA[ >= ]]> #{params.beginSendDate}