zyg 1 anno fa
parent
commit
d83d376cc8

+ 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();
         //改为合众车型查询