| | |
| | | SysDictDataMapper sysDictDataMapper; |
| | | @Autowired |
| | | RedisTemplate redisTemplate; |
| | | @Autowired |
| | | LogUtils logUtils; |
| | | |
| | | @Override |
| | | @Transactional |
| | |
| | | content.append("类型:"+type.getName()+"("+type.getDesc()+")"+";"); |
| | | content.append("key:"+existData.getDataKey()+";"); |
| | | content.append("value:"+existData.getDataValue()+";"); |
| | | logUtils.saveOperationForManage(content.toString(),Constants.DELETE_OPERATE_TYPE); |
| | | LogUtils.saveOperationForManage(content.toString(),Constants.DELETE_OPERATE_TYPE); |
| | | //刷新缓存 |
| | | refreshCache(); |
| | | //封装返回对象 |
| | |
| | | content.append("类型:"+type.getName()+"("+type.getDesc()+")"+";"); |
| | | content.append("key:"+existData.getDataKey()+";"); |
| | | content.append("value:"+existData.getDataValue()+"->"+sysDictData.getDataValue()+";"); |
| | | logUtils.saveOperationForManage(content.toString(),Constants.UPDATE_OPERATE_TYPE); |
| | | LogUtils.saveOperationForManage(content.toString(),Constants.UPDATE_OPERATE_TYPE); |
| | | //刷新缓存 |
| | | refreshCache(); |
| | | //封装返回结果 |
| | |
| | | content.append("类型:"+type.getName()+"("+type.getDesc()+")"+";"); |
| | | content.append("key:"+sysDictData.getDataKey()+";"); |
| | | content.append("value:"+sysDictData.getDataValue()+";"); |
| | | logUtils.saveOperationForManage(content.toString(),Constants.INSERT_OPERATE_TYPE); |
| | | LogUtils.saveOperationForManage(content.toString(),Constants.INSERT_OPERATE_TYPE); |
| | | //刷新缓存 |
| | | refreshCache(); |
| | | //封装返回结果 |