|
@@ -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
|