|
@@ -190,10 +190,12 @@ ORDER by pz
|
190
|
190
|
a.longitude,
|
191
|
191
|
a.latitude,
|
192
|
192
|
ROUND(IFNULL(SUM(kcsl),0.0)/1000/10000,2) as kcsl,
|
193
|
|
- GROUP_CONCAT(DISTINCT b.hwxz) as hwxz
|
|
193
|
+ GROUP_CONCAT(DISTINCT b.hwxz) as hwxz,
|
|
194
|
+ GROUP_CONCAT(DISTINCT c.enumname) as hwxzName
|
194
|
195
|
FROM
|
195
|
196
|
depot_qh.org_info a
|
196
|
197
|
LEFT JOIN depot_qh.data_kcgl_kcsw_default b on a.org_id = b.UnitID and b.hwxz in (6877,6878,6879)
|
|
198
|
+ LEFT JOIN depot_qh.basic_enum c on b.hwxz = c.enumId
|
197
|
199
|
/* 只要省储,市储,县储*/
|
198
|
200
|
where a.org_id != '9'
|
199
|
201
|
GROUP BY a.org_id
|