This commit is contained in:
linfso 2025-07-07 17:42:37 +08:00
parent 00f3da9ac7
commit df17a6b04e

View File

@ -112,12 +112,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND c.del_flag = '0'
AND a.start_site_code = b.start_site_code
AND a.next_site_code = b.next_site_code
AND a.bl_open='1'
<if test="blNeedMatchSupplier != null and blNeedMatchSupplier == 1 ">
AND a.supplier_code = b.supplier_code
</if>
AND b.batch_no = c.batch_no
and a.start_date <![CDATA[ <= ]]> b.etd and b.etd <![CDATA[ < ]]> a.end_date
and a.fee_type = #{feeType}
AND a.start_date <![CDATA[ <= ]]> b.etd and b.etd <![CDATA[ < ]]> a.end_date
AND a.fee_type = #{feeType}
AND c.bill_code = #{billCode}
</select>