+ add note for getEstimateById.

This commit is contained in:
zhujinyong
2013-07-06 03:16:59 +00:00
parent e7e4387a56
commit 2a264ff2c6

View File

@@ -876,6 +876,8 @@ class taskModel extends model
->from(TABLE_TASKESTIMATE)
->where('id')->eq($estimateID)
->fetch();
/* Decide if the estimate is the last one of this task. */
$lastID = $this->dao->select('id')
->from(TABLE_TASKESTIMATE)
->where('task')->eq($estimate->task)