| | |
| | | @Autowired |
| | | private BusinessNotifyMapper businessNotifyMapper; |
| | | |
| | | @Override // org.springblade.modules.notify.service.INotifyTemplateService |
| | | |
| | | public boolean checkUsedByBusinessNotify(String id) { |
| | | Long count = this.businessNotifyMapper.selectCount(Wrappers.<BusinessNotify>lambdaQuery() |
| | | .eq(BusinessNotify::getNotifyTemplateId, id)); |
| | |
| | | return true; |
| | | } |
| | | |
| | | @Override // org.springblade.modules.notify.service.INotifyTemplateService |
| | | |
| | | public ConfigMetadata getAllTypes(String type, String provider, List<TemplateProvider> providers) { |
| | | NotifyTemplateExpandEnum[] values; |
| | | ConfigMetadata result = null; |