update 加缓存

This commit is contained in:
2023-06-21 09:05:42 +08:00
parent e8206404ed
commit f2d4aec27c

View File

@@ -412,6 +412,7 @@ public class PileBillingTemplateServiceImpl implements IPileBillingTemplateServi
*/
@Override
public List<BillingTemplateVO> queryStationBillingTemplateListForUniApp(String stationId) {
// 加缓存
String redisKey = CacheConstants.QUERY_STATION_BILLING_TEMPLATE_LIST + stationId;
List<BillingTemplateVO> voList = redisCache.getCacheObject(redisKey);
if (CollectionUtils.isEmpty(voList)) {