|
|
@ -1937,14 +1937,14 @@ |
|
|
|
LEFT JOIN logpm_warehouse_updown_goods AS lwug ON ldpl.id = lwug.association_id and lwug.association_type = 3 |
|
|
|
LEFT JOIN logpm_warehouse_updown_goods AS lwug ON ldpl.id = lwug.association_id and lwug.association_type = 3 |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
and packet_bar_status != 2 |
|
|
|
and packet_bar_status != 2 |
|
|
|
<if test="reservationId !=null "> |
|
|
|
<if test="reservationIds !=null "> |
|
|
|
and ldrp.reservation_id in |
|
|
|
and ldrp.reservation_id in |
|
|
|
<foreach collection="reservationIds" item="reservationId" open="(" separator="," close=")"> |
|
|
|
<foreach collection="reservationIds" item="reservationId" open="(" separator="," close=")"> |
|
|
|
#{reservationId} |
|
|
|
#{reservationId} |
|
|
|
</foreach> |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
|
|
|
|
|
|
|
|
<if test="warehourseId !=null and warehourseId!= ''"> |
|
|
|
<if test="warehouseId !=null and warehouseId!= ''"> |
|
|
|
and ldpl.warehouse_id=#{warehourseId} |
|
|
|
and ldpl.warehouse_id=#{warehourseId} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
</where> |
|
|
|