| | |
| | | package com.terra.system.service.sys; |
| | | |
| | | import com.terra.system.entity.all.RedisCacheKey; |
| | | import com.terra.system.entity.all.SettingData; |
| | | import com.terra.common.entity.all.SettingData; |
| | | import com.terra.system.entity.sys.LayerEntity; |
| | | import com.terra.system.helper.StringHelper; |
| | | import com.terra.common.helper.StringHelper; |
| | | import com.terra.system.mapper.sys.LayerMapper; |
| | | import com.terra.system.service.all.RedisService; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | public Integer updates(List<LayerEntity> list) { |
| | | return layerMapper.updates(list); |
| | | } |
| | | |
| | | public void clearCache() { |
| | | redisService.clearKeys(RedisCacheKey.permsLayerKey("")); |
| | | } |
| | | } |