This commit is contained in:
田淑杰
2022-04-22 14:06:43 +08:00
parent 449ba6884d
commit 2aca0841d5
+1
View File
@@ -412,6 +412,7 @@ class personnelModel extends model
$userHours = $this->dao->select('account, sum(`left`) as `left`, sum(consumed) as consumed')->from(TABLE_EFFORT)
->where('account')->in($accounts)
->andWhere('deleted')->eq(0)
->andWhere('objectType')->eq('task')
->andWhere('objectID')->in($taskIDList)
->groupBy('account')