| | |
| | | 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
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public void updateByPrimaryKey(AppPageNotification record) {
|
| | | appPageNotificationMapper.updateByPrimaryKey(record); |
| | | }
|
| | | |
| | | @Override
|
| | | public void updateByPrimaryKeySelective(AppPageNotification record) {
|
| | | appPageNotificationMapper.updateByPrimaryKeySelective(record);
|
| | | }
|