浏览代码

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

hu 5 月之前
父节点
当前提交
7e5fdeb541
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/custom/restcontroller/webmanage/sale/salestarget_cucu/SQL/回款明细.sql

+ 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