ソースを参照

可视化

Signed-off-by: tangsong <86121657@qq.com>
tangsong 4 ヶ月 前
コミット
cf8923c1bf

+ 3 - 0
unis-plugin/unis-plugin-biz/src/main/java/com/unis/visualization/modular/grainOilReserve/entity/VO/DeportStockChart.java

@@ -40,4 +40,7 @@ public class DeportStockChart {
40 40
     @ApiModelProperty(value = "性质", position = 7)
41 41
     private String hwxz ;
42 42
 
43
+    @ApiModelProperty(value = "性质名称", position = 8)
44
+    private String hwxzName ;
45
+
43 46
 }

+ 3 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/visualization/modular/grainOilReserve/mapper/mapping/GrainOilReserveMapper.xml

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