|
|
@ -23,6 +23,7 @@ import org.springframework.messaging.MessageHeaders; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.util.StringUtils; |
|
|
|
|
|
|
|
import java.sql.SQLException; |
|
|
|
import java.time.LocalDateTime; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Objects; |
|
|
@ -157,7 +158,11 @@ public class SDKDeviceService extends AbstractDeviceService { |
|
|
|
executor.execute(new Runnable() { |
|
|
|
@Override |
|
|
|
public void run() { |
|
|
|
deviceQrtzService.getDeviceQrtzFileEntity(device); |
|
|
|
try { |
|
|
|
deviceQrtzService.getDeviceQrtzFileEntity(device); |
|
|
|
} catch (SQLException e) { |
|
|
|
throw new RuntimeException(e); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|