소스 검색

业绩目标明细列表排序

hu 1 년 전
부모
커밋
cf9ebf8f37
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/custom/restcontroller/webmanage/sale/salestarget/SQL/人员-目标详情列表.sql

+ 1 - 1
src/custom/restcontroller/webmanage/sale/salestarget/SQL/人员-目标详情列表.sql

@@ -152,4 +152,4 @@ from (
 								 left join sa_salearea t6 on t5.parentid = t6.sa_saleareaid and t5.siteid = t6.siteid
          group by  t6.sa_saleareaid,  t6.areafullname, t6.areaname) t
 where  ifnull(t.areaname,'')!='' and $where$
-order by  case when t.type = '区域汇总' then 0 else 1 end
+order by  case when t.type = '区域汇总' then 0 else 1 end,parentid