zyg преди 1 година
родител
ревизия
d83d376cc8
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      hz-business/src/main/java/com/hz/business/service/impl/BatteryServiceImpl.java

+ 1 - 1
hz-business/src/main/java/com/hz/business/service/impl/BatteryServiceImpl.java

@@ -1034,7 +1034,7 @@ public class BatteryServiceImpl extends ServiceImpl<BatteryMapper, Battery> impl
      * @return com.hz.business.vo.BatteryStatisticsVo
      */
     @Override
-    //@Cacheable(cacheNames = "query::batteryStatisticsCache", key = "#batteryOverviewParam")
+    @Cacheable(cacheNames = "query::batteryStatisticsCache", key = "#batteryOverviewParam")
     public BatteryStatisticsVo getBatteryStatistics(BatteryOverviewParam batteryOverviewParam) {
         BatteryStatisticsVo bsVo = new BatteryStatisticsVo();
         //改为合众车型查询