定时任务及接口方法增加@TenantIgnore

This commit is contained in:
liuyusheng 2024-10-15 09:05:38 +08:00
parent 804d5bc650
commit 4ef0fd0498

View File

@ -66,6 +66,7 @@ public class AlarmRulesApiImpl implements AlarmRulesApi{
*/ */
@Override @Override
@Transactional @Transactional
@TenantIgnore
public Integer alarmRulesFilter(Map<String, Object> fields, List<AlarmRulesRespDTO> rules){ public Integer alarmRulesFilter(Map<String, Object> fields, List<AlarmRulesRespDTO> rules){
int count = 0; int count = 0;
for (AlarmRulesRespDTO rule : rules) { for (AlarmRulesRespDTO rule : rules) {
@ -85,6 +86,7 @@ public class AlarmRulesApiImpl implements AlarmRulesApi{
*/ */
@Override @Override
@Transactional @Transactional
@TenantIgnore
public Integer trendAlarmRulesFilter(Map<String, Object> trendMap,List<AlarmRulesRespDTO> rules){ public Integer trendAlarmRulesFilter(Map<String, Object> trendMap,List<AlarmRulesRespDTO> rules){
int count = 0; int count = 0;
for (AlarmRulesRespDTO rule : rules) { for (AlarmRulesRespDTO rule : rules) {