|
|
|
@ -151,7 +151,7 @@ public class DevConfigServiceImpl extends ServiceImpl<DevConfigMapper, DevConfig
|
|
|
|
|
} |
|
|
|
|
devConfigList.forEach(devConfig -> { |
|
|
|
|
// 移除对应的缓存
|
|
|
|
|
commonCacheOperator.remove(CONFIG_CACHE_KEY + devConfig.getConfigValue()); |
|
|
|
|
commonCacheOperator.remove(CONFIG_CACHE_KEY + devConfig.getConfigKey()); |
|
|
|
|
}); |
|
|
|
|
// 执行删除
|
|
|
|
|
this.removeBatchByIds(devConfigIdList); |
|
|
|
@ -180,7 +180,7 @@ public class DevConfigServiceImpl extends ServiceImpl<DevConfigMapper, DevConfig
|
|
|
|
|
.eq(DevConfig::getConfigKey, devConfigBatchParam.getConfigKey()) |
|
|
|
|
.set(DevConfig::getConfigValue, devConfigBatchParam.getConfigValue())); |
|
|
|
|
// 移除对应的缓存
|
|
|
|
|
commonCacheOperator.remove(CONFIG_CACHE_KEY + devConfigBatchParam.getConfigValue()); |
|
|
|
|
commonCacheOperator.remove(CONFIG_CACHE_KEY + devConfigBatchParam.getConfigKey()); |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|