更新
This commit is contained in:
parent
bd79f78318
commit
66f1bcd35c
@ -94,7 +94,7 @@ class TaskStages extends CommonModel
|
|||||||
!$joinTaskMember && $taskModel->leftJoin('task_member tm', 't.code = tm.task_code');
|
!$joinTaskMember && $taskModel->leftJoin('task_member tm', 't.code = tm.task_code');
|
||||||
$taskModel = $taskModel->whereIn('tm.member_code', $joiner);
|
$taskModel = $taskModel->whereIn('tm.member_code', $joiner);
|
||||||
}
|
}
|
||||||
$list = $taskModel->order('t.sort asc,t.id asc')->field('id', true)->select();
|
$list = $taskModel->order('t.create_time desc')->field('id', true)->select();
|
||||||
if ($list) {
|
if ($list) {
|
||||||
$taskMemberList = [];
|
$taskMemberList = [];
|
||||||
foreach ($list as &$task) {
|
foreach ($list as &$task) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user