浏览代码

订单明细列表优化

eganwu 2 年之前
父节点
当前提交
69f5c0a06e
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/custom/restcontroller/webmanage/sale/order/SQL/商品发货数量汇总.sql

+ 0 - 1
src/custom/restcontroller/webmanage/sale/order/SQL/商品发货数量汇总.sql

@@ -3,5 +3,4 @@ SELECT  t3.itemno,
 FROM sa_dispatch_items t1
          inner join sa_dispatch t2 on t1.siteid = t2.siteid and t1.sa_dispatchid = t2.sa_dispatchid
          left join plm_item t3 on t1.siteid = t3.siteid and t1.itemid = t3.itemid
-         inner join sa_orderitems t4 on t1.sa_orderitemsid=t4.sa_orderitemsid and t1.siteid = t4.siteid
 WHERE t2.STATUS in ('审核','复核') and t1.siteid=$siteid$ and t3.itemno in $itemnos$ group by t3.itemno