|
|
@ -139,9 +139,9 @@ public class CheckServiceImpl implements CheckService { |
|
|
|
nextCoord = this.getNextCoord(nextCoord, order, taskId + ""); |
|
|
|
this.updateCoordAndStatus(taskId, nextCoord, 1, false, false, order); |
|
|
|
this.sendMessageToDevice(nextCoord, taskId); |
|
|
|
if ("finish".equals(nextCoord)) { |
|
|
|
this.updateCoordAndStatus(taskId, nextCoord, 3, false, true, order); |
|
|
|
} |
|
|
|
// if ("finish".equals(nextCoord)) { |
|
|
|
// this.updateCoordAndStatus(taskId, nextCoord, 3, false, true, order); |
|
|
|
// } |
|
|
|
} |
|
|
|
return nextCoord; |
|
|
|
} |
|
|
@ -175,9 +175,9 @@ public class CheckServiceImpl implements CheckService { |
|
|
|
nextCoord = this.getNextCoord(nextCoord, order, taskId + ""); |
|
|
|
this.updateCoordAndStatus(taskId, nextCoord, 1, false, false, order); |
|
|
|
this.sendMessageToDevice(nextCoord, taskId); |
|
|
|
if ("finish".equals(nextCoord)) { |
|
|
|
this.updateCoordAndStatus(taskId, nextCoord, 3, false, true, order); |
|
|
|
} |
|
|
|
// if ("finish".equals(nextCoord)) { |
|
|
|
// this.updateCoordAndStatus(taskId, nextCoord, 3, false, true, order); |
|
|
|
// } |
|
|
|
} |
|
|
|
return nextCoord; |
|
|
|
} |
|
|
|