* code for task#1030.

This commit is contained in:
zhujinyong
2013-01-09 06:35:02 +00:00
parent 0951df0cbd
commit ae9da000b1
6 changed files with 27 additions and 2 deletions
+2
View File
@@ -417,6 +417,8 @@ class taskModel extends model
->setDefault('account', $this->app->user->account)
->setDefault('task', $taskID)
->setDefault('date', helper::now())
->cleanFloat('consumed, left')
->remove('comment')
->get();
$this->dao->insert(TABLE_TASKESTIMATE)->data($estimate)
->autoCheck()