Procházet zdrojové kódy

海盐订单出货sql字段更名2021年12月27日09:55:04

hu před 4 roky
rodič
revize
a308eef367

+ 1 - 1
src/rest/openapi/restcontroller/wechatapp/orderform/SQL/订单出货未付款金额查询.sql

@@ -1,4 +1,4 @@
-select isnull(SUM(famount6),0) famount6  from (select t1.fagentnum,t1.fsaler,(t1.famount-t2.famount) famount6 from (
+select isnull(SUM(famount6),0) famount  from (select t1.fagentnum,t1.fsaler,(t1.famount-t2.famount) famount6 from (
 select  t1.fagentnum,t1.fsaler,sum(t4.famount) famount from saorder t1
 inner join saorderdetail t2 on t1.siteid=t2.siteid and t1.saorderid=t2.fparentid
 inner join sainvoicedetail t4 on t4.fsourceid=t2.saorderdetailid and t4.siteid=t2.siteid 

+ 1 - 1
src/rest/openapi/restcontroller/wechatapp/orderform/SQL/订单出货未开票金额查询.sql

@@ -1,4 +1,4 @@
-select isnull(SUM(famount6),0) famount6  from (select t1.fagentnum,t1.fsaler,(t1.famount-t2.famount) famount6 from (
+select isnull(SUM(famount6),0) famount  from (select t1.fagentnum,t1.fsaler,(t1.famount-t2.famount) famount6 from (
 select  t1.fagentnum,t1.fsaler,sum(t4.famount) famount from saorder t1
 inner join saorderdetail t2 on t1.siteid=t2.siteid and t1.saorderid=t2.fparentid
 inner join sainvoicedetail t4 on t4.fsourceid=t2.saorderdetailid and t4.siteid=t2.siteid