|
@@ -43,8 +43,9 @@ public class TdCronJob implements JobHandler {
|
|
|
allDevice.stream().filter(e -> e.getSerialNumber().equals(deviceCode)).findFirst().ifPresent(e -> {
|
|
|
if (e.getStatus()==1) {
|
|
|
device.setIfInline(5);
|
|
|
+ } else {
|
|
|
+ device.setIfInline(e.getStatus());
|
|
|
}
|
|
|
- device.setIfInline(e.getStatus());
|
|
|
device.setYfDeviceId(e.getDeviceId());
|
|
|
Integer i = deviceMapper.tableIfExist(e.getSerialNumber().toLowerCase());
|
|
|
if (i==1) {
|