demand: tms-运输管理-货物组批次-组批次验重规则增加根据提单号验重规则

This commit is contained in:
aike 2025-12-12 10:42:18 +08:00
parent fc2b770286
commit f80f9983ec

View File

@ -333,6 +333,9 @@
and start_site_code = #{startSiteCode} and start_site_code = #{startSiteCode}
and next_site_code = #{nextSiteCode} and next_site_code = #{nextSiteCode}
and supplier_code=#{supplierCode} and supplier_code=#{supplierCode}
<if test="carNo != null and carNo != ''">
and car_no = #{carNo}
</if>
and batch_no in (select batch_no from emis_tms_site_batch_dtl where del_flag='0' and batch_no in (select batch_no from emis_tms_site_batch_dtl where del_flag='0'
and FIND_IN_SET(`bill_code` and FIND_IN_SET(`bill_code`
, #{params.billCode}) ) , #{params.billCode}) )