|
@ -327,6 +327,7 @@ public class DeviceQrtzServiceImpl implements IDeviceQrtzService { |
|
|
HttpResultResponse httpResultResponse = flightTaskService.publishFlightTask(device.getWorkspaceId(), createJobParam, deviceQrtzFileEntity.getNickName()); |
|
|
HttpResultResponse httpResultResponse = flightTaskService.publishFlightTask(device.getWorkspaceId(), createJobParam, deviceQrtzFileEntity.getNickName()); |
|
|
if(httpResultResponse.getCode() == 0){ |
|
|
if(httpResultResponse.getCode() == 0){ |
|
|
deviceQrtzFileEntity.setStatus(DeviceQrtzConstants.QRTZ_FILE_STATUS_2); |
|
|
deviceQrtzFileEntity.setStatus(DeviceQrtzConstants.QRTZ_FILE_STATUS_2); |
|
|
|
|
|
deviceQrtzFileEntity.setFlightDate(new Date()); |
|
|
deviceQrtzFileMapper.updateById(deviceQrtzFileEntity); |
|
|
deviceQrtzFileMapper.updateById(deviceQrtzFileEntity); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|