Browse Source

订单物流单列表查询报错修复

hu 7 months ago
parent
commit
16691501da

+ 2 - 2
src/custom/restcontroller/webmanage/sale/order/SQL/订单_物流单列表.sql

@@ -1,4 +1,4 @@
-SELECT DISTINCT
+SELECT
     t7.sa_orderid,
     t9.billno,
     t9.billdate,
@@ -20,4 +20,4 @@ FROM
         AND t9.`status` != '新建'
 WHERE t7.sa_orderid = $sa_orderid$
   and t9.siteid = $siteid$
-  and $where$
+  and $where$ group by t7.sa_orderid,t9.billno,t9.billdate,t9.logisticsstatus,t9.packageqty,t9.logisticsamount,t9.address,t9.remarks