parent
08d68b66ab
commit
29db84de76
|
@ -715,7 +715,7 @@ public class DeviceTaskManagerServiceImpl implements DeviceTaskManagerService {
|
|||
|
||||
// 任务预计结束5分钟内,
|
||||
if (Helper.getTimestampDiffNow(task.getPlanEndTime()) < 5 * 60) {
|
||||
if (v.getEndTime() == null && Helper.getTimestampDiffNow(v.getEndTime()) < 5 * 60) {
|
||||
if (v.getEndTime() == null || Helper.getTimestampDiffNow(v.getEndTime()) < 5 * 60) {
|
||||
MulReturnType<ErrorCode, Long> ret = ai.getDb().taskStatus(v.getId());
|
||||
|
||||
if (ret.getFirstParam() == ErrorCode.ERR_OK) {
|
||||
|
|
Loading…
Reference in New Issue