left join logpm_distribution_parcel_list ldpl on ldpl.order_package_code = lwtg.association_value
where lwtg.tray_code = #{tray_code}
where lwtg.tray_code = #{trayCode}
and lwtg.association_type = '3'
</select>
@ -366,7 +366,7 @@
lwtg.num num
from logpm_warehouse_tray_goods lwtg
left join logpm_distribution_stock_article ldsa on ldsa.order_code = lwtg.association_value
where lwtg.tray_code = #{tray_code}
where lwtg.tray_code = #{trayCode}
and lwtg.association_type = '1'
</select>
@ -377,7 +377,7 @@
lwtg.num num
from logpm_warehouse_tray_goods lwtg
left join logpm_distribution_stock_list ldsl on ldsl.incoming_batch = lwtg.incoming_batch and ldsl.cargo_number = lwtg.association_value and ldsl.market_name = lwtg.market_name