报警忽略租户

This commit is contained in:
xusd 2024-09-14 16:59:22 +08:00
parent de69f63a22
commit 24cdb9204e

View File

@ -98,11 +98,13 @@ public class EquipAlarmDataServiceImpl implements EquipAlarmDataService {
} }
@Override @Override
@TenantIgnore
public AlarmSubmitOrderDetailsVO getSubmitOrderDetails(String alarmId) { public AlarmSubmitOrderDetailsVO getSubmitOrderDetails(String alarmId) {
return equipAlarmDataMapper.getSubmitOrderDetails(alarmId); return equipAlarmDataMapper.getSubmitOrderDetails(alarmId);
} }
@Override @Override
@TenantIgnore
public Boolean isSubmitOrder(String alarmId) { public Boolean isSubmitOrder(String alarmId) {
MaintenanceOrderDO maintenanceOrderDO = maintenanceOrderMapper.selectOne(MaintenanceOrderDO::getAlarmId, alarmId); MaintenanceOrderDO maintenanceOrderDO = maintenanceOrderMapper.selectOne(MaintenanceOrderDO::getAlarmId, alarmId);
return Objects.nonNull(maintenanceOrderDO); return Objects.nonNull(maintenanceOrderDO);