REM:
1. 修正迪普设备调用处置时间单位不正确导致处置时间过长问题。
This commit is contained in:
HuangXin 2020-09-23 18:38:10 +08:00
parent b0080b6547
commit 79dd5aa1fc
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public class DeviceTaskManagerServiceImpl implements DeviceTaskManagerService {
deviceTask.getTaskAttackType());
ret = ai.getDb().runDispose(disposeTask.getDisposeIp(), disposeTask.getDisposeCapacity(), null, null,
(long) -Helper.getTimestampDiffNow(disposeTask.getPlanEndTime()));
(long) -(Helper.getTimestampDiffNow(disposeTask.getPlanEndTime()) / 60));
if (ret.getFirstParam() == ErrorCode.ERR_OK) {
// 设置攻击类型任务启动结果