Browse Source

cucu业绩目标回款明细添加排序

hu 1 month ago
parent
commit
7e5fdeb541

+ 1 - 1
src/custom/restcontroller/webmanage/sale/salestarget_cucu/SQL/回款明细.sql

@@ -614,5 +614,5 @@ from sys_enterprise t1
                               t4.amount>= 0) or t6.amount>= 0) t17 on t1.sys_enterpriseid = t17.sys_enterpriseid
                               t4.amount>= 0) or t6.amount>= 0) t17 on t1.sys_enterpriseid = t17.sys_enterpriseid
 where t1.siteid = $siteid$
 where t1.siteid = $siteid$
   and t1.sys_enterpriseid not in (9116, 9117)
   and t1.sys_enterpriseid not in (9116, 9117)
-  and $where$
+  and $where$ order by t4.areaname2,t4.areaname3