|
|
@ -864,7 +864,7 @@ |
|
|
|
</update> |
|
|
|
</update> |
|
|
|
|
|
|
|
|
|
|
|
<select id="findZeroListByWarehouseId" resultType="com.alibaba.fastjson.JSONObject"> |
|
|
|
<select id="findZeroListByWarehouseId" resultType="com.alibaba.fastjson.JSONObject"> |
|
|
|
select ldsa.waybill_no waybillNo, |
|
|
|
select ldsa.waybill_number waybillNo, |
|
|
|
ldsa.order_code orderCode, |
|
|
|
ldsa.order_code orderCode, |
|
|
|
lww.create_time createTime, |
|
|
|
lww.create_time createTime, |
|
|
|
lww.destination destination, |
|
|
|
lww.destination destination, |
|
|
@ -874,16 +874,19 @@ |
|
|
|
lww.consignee consignee, |
|
|
|
lww.consignee consignee, |
|
|
|
lww.consignee_name consigneeName, |
|
|
|
lww.consignee_name consigneeName, |
|
|
|
lww.goods_name goodsName, |
|
|
|
lww.goods_name goodsName, |
|
|
|
ldsa.total_number totalNum, |
|
|
|
lww.total_count totalNum, |
|
|
|
lww.total_weight weight, |
|
|
|
lww.total_weight weight, |
|
|
|
lww.total_volume volume, |
|
|
|
lww.total_volume volume, |
|
|
|
ldsa.stock_num stockNum, |
|
|
|
ldsa.hand_quantity stockNum, |
|
|
|
lww.customer_train customerTrain, |
|
|
|
lww.customer_train customerTrain, |
|
|
|
|
|
|
|
lww.total_freight, |
|
|
|
|
|
|
|
lww.total_count, |
|
|
|
lww.remark remark, |
|
|
|
lww.remark remark, |
|
|
|
ROUND(lww.total_freight/total_count,2) price |
|
|
|
ROUND(lww.total_freight/lww.total_count,2) price |
|
|
|
from logpm_distribution_stock_article ldsa |
|
|
|
from logpm_distribution_stock_article ldsa |
|
|
|
left join logpm_warehouse_waybill lww on lww.waybill_no = ldsa.waybill_number |
|
|
|
left join logpm_warehouse_waybill lww on lww.waybill_no = ldsa.waybill_number |
|
|
|
where |
|
|
|
where ldsa.is_zero = 1 |
|
|
|
|
|
|
|
and ldsa.warehouse_id = #{warehouseId} |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
</mapper> |
|
|
|
</mapper> |
|
|
|