parent
81b4e2a393
commit
bb264617f1
|
@ -268,8 +268,8 @@ public class DisposeTaskController {
|
|||
taskData.setTaskId(String.valueOf(taskInfo.getId()));
|
||||
taskData.setType(taskInfo.getType());
|
||||
taskData.setDisposeIp(taskInfo.getDisposeIp());
|
||||
taskData.setLeftTime(Math.abs(Helper.getTimestampDiffNow(taskInfo.getBeginTime())
|
||||
- Helper.getTimestampDiffNow(taskInfo.getPlanEndTime())));
|
||||
taskData.setLeftTime((Math.abs(Helper.getTimestampDiffNow(taskInfo.getBeginTime())
|
||||
- Helper.getTimestampDiffNow(taskInfo.getPlanEndTime()))) / 60);
|
||||
|
||||
taskData.setStatus(retError.getCode());
|
||||
taskData.setMessage(retError.getMsg());
|
||||
|
@ -337,8 +337,8 @@ public class DisposeTaskController {
|
|||
taskData.setTaskId(String.valueOf(taskInfo.getId()));
|
||||
taskData.setType(taskInfo.getType());
|
||||
taskData.setDisposeIp(taskInfo.getDisposeIp());
|
||||
taskData.setLeftTime(Math.abs(Helper.getTimestampDiffNow(taskInfo.getBeginTime())
|
||||
- Helper.getTimestampDiffNow(taskInfo.getPlanEndTime())));
|
||||
taskData.setLeftTime((Math.abs(Helper.getTimestampDiffNow(taskInfo.getBeginTime())
|
||||
- Helper.getTimestampDiffNow(taskInfo.getPlanEndTime()))) / 60);
|
||||
|
||||
taskData.setStatus(retError.getCode());
|
||||
taskData.setMessage(retError.getMsg());
|
||||
|
@ -399,8 +399,8 @@ public class DisposeTaskController {
|
|||
taskData.setTaskId(String.valueOf(taskInfo.getId()));
|
||||
taskData.setType(taskInfo.getType());
|
||||
taskData.setDisposeIp(taskInfo.getDisposeIp());
|
||||
taskData.setLeftTime(Math.abs(Helper.getTimestampDiffNow(taskInfo.getBeginTime())
|
||||
- Helper.getTimestampDiffNow(taskInfo.getPlanEndTime())));
|
||||
taskData.setLeftTime((Math.abs(Helper.getTimestampDiffNow(taskInfo.getBeginTime())
|
||||
- Helper.getTimestampDiffNow(taskInfo.getPlanEndTime()))) / 60);
|
||||
|
||||
taskData.setStatus(retError.getCode());
|
||||
taskData.setMessage(retError.getMsg());
|
||||
|
|
Loading…
Reference in New Issue