3
0
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
cabbage 65b789561f ## 调整计算等级盒数处理; 2025-08-05 13:48:52 +08:00
cabbage d0ff900099 ## 迁移仓储导出; 2025-08-05 13:48:51 +08:00
2 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,7 @@
bp.product_code, bp.product_code,
bp.product_name, bp.product_name,
bp.shipping_channel, bp.shipping_channel,
bp.wms_code,,
sdi.SPECS_NAME, sdi.SPECS_NAME,
sdi.quantity, sdi.quantity,
soi.order_status, soi.order_status,
@ -219,6 +220,7 @@
bp.product_code, bp.product_code,
bp.product_name, bp.product_name,
bp.shipping_channel, bp.shipping_channel,
bp.wms_code,
sdi.SPECS_NAME, sdi.SPECS_NAME,
sdi.quantity, sdi.quantity,
soi.order_status, soi.order_status,

View File

@ -1161,7 +1161,7 @@
<!-- 查询新零售购买指定商品数量(新) --> <!-- 查询新零售购买指定商品数量(新) -->
<select id="getRetailWaresQuantityNew" resultType="int"> <select id="getRetailWaresQuantityNew" resultType="int">
select nvl(sum(soi.wares_quantity), 0) wares_quantity select nvl(sum(soi.wares_quantity * bw.box_num), 0) wares_quantity
from sa_order so from sa_order so
left join sa_order_items soi left join sa_order_items soi
on soi.pk_order = so.pk_id on soi.pk_order = so.pk_id