修改缓存key

This commit is contained in:
沈健
2025-01-06 14:05:56 +08:00
parent a124355283
commit ad5b9535d7
@@ -1529,7 +1529,7 @@ public class DistrictStatServiceImpl implements DistrictStatService {
if (weekend == null) {
weekend = DateUtil.getFirstDayOfWeek(new Date());
}
String cacheKey = districtKey.getCity() + "_" + districtKey.getRegion() + "_" + districtKey.getName() + "_" + DateUtil.formatToYYMMDD(weekend);
String cacheKey = districtKey.getCity() + "_" + districtKey.getRegion() + "_" + districtKey.getName() + "_2B_" + DateUtil.formatToYYMMDD(weekend);
Object obj = CacheUtils.getValue(this.getClass(), cacheKey);
if (obj != null) {
return (Integer)obj;