This commit is contained in:
linfso 2024-07-21 11:35:56 +08:00
parent 3a311bfe6e
commit b6bd3298a8

View File

@ -112,6 +112,11 @@
where
b.del_flag='0' and waybill_status !='0'
and a.main_bill_code=b.bill_code
<if test="params.billCode != null and params.billCode != ''">
and ( FIND_IN_SET(b.`bill_code`,#{params.billCode}) or b.bill_code like concat('%', #{params.billCode}, '%') )
</if>
<if test="params.sendDay != null and params.sendDay != ''">
and DATE(b.send_date)=#{params.sendDay}
</if>
@ -134,7 +139,6 @@
and b.send_date <![CDATA[ <= ]]> #{params.endSendDate}
</if>
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
and (
a.dispatch_underling_site_code in (