更新需求
This commit is contained in:
parent
fbe424e913
commit
98ff3a39d7
@ -554,7 +554,9 @@ class Api extends BaseController
|
|||||||
//获取树形任务列表
|
//获取树形任务列表
|
||||||
public function get_project_task(){
|
public function get_project_task(){
|
||||||
$param = get_params();
|
$param = get_params();
|
||||||
$list = Db::name('ProjectTask')->withoutField('content,md_content')->where('project_id',$param['project_id'])->order('id desc')->select()->toArray();
|
$list = Db::name('ProjectTask')->withoutField('content,md_content')->where('project_id',$param['project_id'])
|
||||||
|
->where('delete_time', '=', 0)
|
||||||
|
->order('id desc')->select()->toArray();
|
||||||
foreach ($list as $key => &$vo) {
|
foreach ($list as $key => &$vo) {
|
||||||
$vo['director_name'] = '-';
|
$vo['director_name'] = '-';
|
||||||
if ($vo['director_uid'] > 0) {
|
if ($vo['director_uid'] > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user