* change the table.

This commit is contained in:
wangchunsheng
2010-02-01 09:20:20 +00:00
parent abb7224c28
commit 7a5c2a828b

View File

@@ -223,7 +223,7 @@ class testtask extends control
/* 批量指派。*/
public function batchAssign($taskID)
{
$this->dao->update(TABLE_TASKCASE)
$this->dao->update(TABLE_TESTRUN)
->set('assignedTo')->eq($this->post->assignedTo)
->where('task')->eq((int)$taskID)
->andWhere('`case`')->in($this->post->cases)