mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-25 01:29:47 +08:00
update 加缓存
This commit is contained in:
@@ -412,6 +412,7 @@ public class PileBillingTemplateServiceImpl implements IPileBillingTemplateServi
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<BillingTemplateVO> queryStationBillingTemplateListForUniApp(String stationId) {
|
public List<BillingTemplateVO> queryStationBillingTemplateListForUniApp(String stationId) {
|
||||||
|
// 加缓存
|
||||||
String redisKey = CacheConstants.QUERY_STATION_BILLING_TEMPLATE_LIST + stationId;
|
String redisKey = CacheConstants.QUERY_STATION_BILLING_TEMPLATE_LIST + stationId;
|
||||||
List<BillingTemplateVO> voList = redisCache.getCacheObject(redisKey);
|
List<BillingTemplateVO> voList = redisCache.getCacheObject(redisKey);
|
||||||
if (CollectionUtils.isEmpty(voList)) {
|
if (CollectionUtils.isEmpty(voList)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user