| | |
| | | return appPageNotificationMapper.selectByType(type);
|
| | | }
|
| | |
|
| | | @Cacheable(value = "configCache", key = "'getAppPageNotificationByType-'+#type")
|
| | | @Cacheable(value = "configCache", key = "'getValidNotificationByTypeCache-'+#type")
|
| | | @Override
|
| | | public AppPageNotification getAppPageNotificationByTypeCache(String type) {
|
| | |
|
| | | return appPageNotificationMapper.selectByType(type);
|
| | | public AppPageNotification getValidNotificationByTypeCache(String type) {
|
| | | return appPageNotificationMapper.selectValidByType(type);
|
| | | }
|
| | |
|
| | | @Override
|