Merge branch 'sprint/master_zhouxudong_21700' into 'master'

* Fix bug #21700.

See merge request easycorp/zentaopms!2904
This commit is contained in:
王怡栋
2022-04-13 07:19:18 +00:00
+1 -1
View File
@@ -1624,7 +1624,7 @@ class taskModel extends model
$consumed += $estimate->consumed;
$work = $estimate->work;
$estimateID = $this->dao->lastInsertID();
$actionID = $this->action->create('task', $taskID, 'RecordEstimate', $work, $estimate->consumed);
$actionID = $this->action->create('task', $taskID, 'RecordEstimate', $work, (float)$estimate->consumed);
if(empty($lastDate) or $lastDate <= $estimate->date)
{