Pre Merge pull request !406 from WangBQ/master
This commit is contained in:
commit
1385744fe2
|
|
@ -111,6 +111,11 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|||
@Override
|
||||
public int updateConfig(SysConfig config)
|
||||
{
|
||||
SysConfig search = new SysConfig();
|
||||
search.setConfigId(config.getConfigId());
|
||||
search = configMapper.selectConfig(search);
|
||||
CacheUtils.remove(getCacheName(), getCacheKey(search.getConfigKey()));
|
||||
|
||||
int row = configMapper.updateConfig(config);
|
||||
if (row > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue