|
|
|
@ -205,6 +205,7 @@
|
|
|
|
|
ldsl.cargo_number cargoNumber, |
|
|
|
|
ldsl.cargo_norms cargoNorms, |
|
|
|
|
ldsl.cargo_unit cargoUnit, |
|
|
|
|
ldsl.incoming_batch incomingBatch, |
|
|
|
|
lbm.product_code materialCode, |
|
|
|
|
ldsl.sku sku, |
|
|
|
|
ldsl.stock_list_code stockListCode, |
|
|
|
@ -266,16 +267,16 @@
|
|
|
|
|
GROUP_CONCAT(lwtg.palletizing_type SEPARATOR ',') palletizingType |
|
|
|
|
FROM |
|
|
|
|
logpm_warehouse_tray lwt |
|
|
|
|
JOIN logpm_warehouse_tary_allocation lwta ON lwt.id = lwta.tary_id |
|
|
|
|
JOIN logpm_warehouse_tary_allocation lwta ON lwt.id = lwta.tray_id |
|
|
|
|
LEFT JOIN logpm_warehouse_tray_goods lwtg on lwtg.tray_id =lwt.id |
|
|
|
|
<where> |
|
|
|
|
lwta.is_deleted =0 |
|
|
|
|
<if test="param.palletName!=null and param.palletName!=''"> |
|
|
|
|
and lwt.pallet_name like concat('%',#{param.palletName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.palletCode!=null and param.palletCode!=''"> |
|
|
|
|
and lwt.pallet_code like concat('%',#{param.palletCode},'%') |
|
|
|
|
</if> |
|
|
|
|
<!-- <if test="param.palletName!=null and param.palletName!=''">--> |
|
|
|
|
<!-- and lwt.pallet_name like concat('%',#{param.palletName},'%')--> |
|
|
|
|
<!-- </if>--> |
|
|
|
|
<!-- <if test="param.palletCode!=null and param.palletCode!=''">--> |
|
|
|
|
<!-- and lwt.pallet_code like concat('%',#{param.palletCode},'%')--> |
|
|
|
|
<!-- </if>--> |
|
|
|
|
and lwta.allocation_id =#{param.id} |
|
|
|
|
</where> |
|
|
|
|
GROUP BY lwt.id |
|
|
|
|