Explorar o código

Merge remote-tracking branch 'remotes/origin/dev-2.7.0' into dev

gaodd hai 1 ano
pai
achega
055df0bacc

+ 2 - 2
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/esstorageenterprise/controller/BizEsStorageEnterpriseController.java

@@ -177,8 +177,8 @@ public class BizEsStorageEnterpriseController {
177 177
     @ApiOperationSupport(order = 8)
178 178
     @ApiOperation("*应急仓储企业统计")
179 179
     @GetMapping("/emergencySupport/supportCenter/statistics")
180
-    public CommonResult<List<Map<String,Object>>> statistics(@RequestParam(value = "city",required = false) String city,@RequestParam(value = "sfqy",required = false) String sfqy) {
181
-        return CommonResult.data(bizEsStorageEnterpriseService.statistics(city,sfqy));
180
+    public CommonResult<List<Map<String,Object>>> statistics(@RequestParam(value = "city",required = false) String city,@RequestParam(value = "county",required = false) String county) {
181
+        return CommonResult.data(bizEsStorageEnterpriseService.statistics(city,county));
182 182
     }
183 183
 
184 184
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/esstorageenterprise/mapper/BizEsStorageEnterpriseMapper.java

@@ -53,5 +53,5 @@ public interface BizEsStorageEnterpriseMapper extends BaseMapper<BizEsStorageEnt
53 53
 
54 54
     List<Map<String, Object>> getSlByCounty(@Param("city") String city);
55 55
 
56
-    List<Map<String, Object>> getQyDataByCounty(@Param("city") String city);
56
+    List<Map<String, Object>> getQyDataByCounty(@Param("county") String county);
57 57
 }

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/esstorageenterprise/mapper/mapping/BizEsStorageEnterpriseMapper.xml

@@ -271,7 +271,7 @@
271 271
                          LEFT JOIN biz_es_storage_enterprise_grain b on a.id = b.es_storage_enterprise_id
272 272
                          LEFT JOIN dev_dict c on a.management_area_county = c.id
273 273
                  where 1=1
274
-                   and a.management_area_city = #{city}
274
+                   and a.management_area_county = #{county}
275 275
              )c GROUP BY qymc
276 276
     </select>
277 277
 </mapper>

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/esstorageenterprise/service/BizEsStorageEnterpriseService.java

@@ -86,5 +86,5 @@ public interface BizEsStorageEnterpriseService extends IService<BizEsStorageEnte
86 86
 
87 87
     List<Map<String,Object>> getAllList(String type);
88 88
 
89
-    List<Map<String,Object>> statistics(String city,String sfqy);
89
+    List<Map<String,Object>> statistics(String city,String county);
90 90
 }

+ 3 - 3
unis-plugin/unis-plugin-biz/src/main/java/com/unis/emergencySupport/modular/esstorageenterprise/service/impl/BizEsStorageEnterpriseServiceImpl.java

@@ -1010,7 +1010,7 @@ public class BizEsStorageEnterpriseServiceImpl extends ServiceImpl<BizEsStorageE
1010 1010
     }
1011 1011
 
1012 1012
     @Override
1013
-    public List<Map<String, Object>> statistics(String city,String sfqy) {
1013
+    public List<Map<String, Object>> statistics(String city,String county) {
1014 1014
 
1015 1015
         List<Map<String, Object>> provinceList = new ArrayList<Map<String, Object>>();
1016 1016
         List<Map<String, Object>> cityList = new ArrayList<Map<String, Object>>();
@@ -1018,9 +1018,9 @@ public class BizEsStorageEnterpriseServiceImpl extends ServiceImpl<BizEsStorageE
1018 1018
         List<Map<String, Object>> qyList = new ArrayList<Map<String, Object>>();
1019 1019
 
1020 1020
         if( null != city &&   "" != city){
1021
-                if(null != sfqy &&   "" != sfqy){
1021
+                if(null != county &&   "" != county){
1022 1022
                     //企业
1023
-                    qyList = bizEsStorageEnterpriseMapper.getQyDataByCounty(city);
1023
+                    qyList = bizEsStorageEnterpriseMapper.getQyDataByCounty(county);
1024 1024
                 }else{
1025 1025
                     //县
1026 1026
                     countyList = bizEsStorageEnterpriseMapper.getDataByCounty(city);