任务排序优化

This commit is contained in:
liweisen 2020-05-09 12:03:48 +08:00
parent 7a1c42f4f7
commit c3d57715f0

View File

@ -492,8 +492,8 @@ class Task extends CommonModel
$preTask->save();
} else {
// 小于安全值
// $this->resetSort($preTask['project_code']);
// $this->sort($preCode, $nextCode);
$this->resetSort($preTask['stage_code']);
$this->sort($preCode, $nextCode, $toStageCode);
}
return true;
}