From 976de6e849c436f60b3083dc7acecf1ccb50eab1 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 23 Aug 2022 14:17:43 +0800 Subject: [PATCH] * Fix the problem of error reporting in the contribution task list. --- module/my/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/my/model.php b/module/my/model.php index 1b01e01007..96127c3ae3 100644 --- a/module/my/model.php +++ b/module/my/model.php @@ -336,7 +336,7 @@ class myModel extends model if($objectType == 'task') { - $objectList = $this->dao->select('t1.*, t2.name as executionName')->from($this->config->objectTables[$module])->alias('t1') + $objectList = $this->dao->select('t1.*, t2.name as executionName, t2.type as executionType')->from($this->config->objectTables[$module])->alias('t1') ->leftJoin(TABLE_EXECUTION)->alias('t2')->on("t1.execution = t2.id") ->where('t1.deleted')->eq(0) ->andWhere('t2.deleted')->eq(0)