Sfoglia il codice sorgente

业绩目标明细列表排序

hu 1 anno fa
parent
commit
cf9ebf8f37

+ 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