* Delete unused file and add new file.

This commit is contained in:
Yagami
2020-09-22 15:10:11 +08:00
parent 5bff3486d4
commit dd48623aaa
19 changed files with 381 additions and 679 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ class workestimationModel extends model
*/
public function getBudget($program)
{
return $this->dao->select('*')->from(TABLE_WORKESTIMATION)->where('program')->eq($program)->fetch();
return $this->dao->select('*')->from(TABLE_WORKESTIMATION)->where('PRJ')->eq($program)->fetch();
}
/**
@@ -48,7 +48,7 @@ class workestimationModel extends model
{
$budget = $this->getBudget($program);
$postBudget = fixer::input('post')->get();
$postBudget->program = $program;
$postBudget->PRJ = $program;
if(empty($budget))
{