|
|
@ -1094,6 +1094,7 @@ |
|
|
|
ldpl.order_package_reservation_status = 10 and ldpl.order_package_freeze_status = 10 AND |
|
|
|
ldpl.order_package_reservation_status = 10 and ldpl.order_package_freeze_status = 10 AND |
|
|
|
ldpl.order_package_loading_status = 10 AND order_package_status IN (10,20) |
|
|
|
ldpl.order_package_loading_status = 10 AND order_package_status IN (10,20) |
|
|
|
and ldpl.stock_article_id = #{param.id} and ldpl.warehouse_id = #{warehouseId} |
|
|
|
and ldpl.stock_article_id = #{param.id} and ldpl.warehouse_id = #{warehouseId} |
|
|
|
|
|
|
|
and ldpl.conditions !=2 |
|
|
|
<if test="param.waybillNumber != null and param.waybillNumber != ''"> |
|
|
|
<if test="param.waybillNumber != null and param.waybillNumber != ''"> |
|
|
|
and ldpl.waybill_number like concat('%',#{param.waybillNumber},'%') |
|
|
|
and ldpl.waybill_number like concat('%',#{param.waybillNumber},'%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|