소스 검색

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

hu 1 개월 전
부모
커밋
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
 where t1.siteid = $siteid$
   and t1.sys_enterpriseid not in (9116, 9117)
-  and $where$
+  and $where$ order by t4.areaname2,t4.areaname3