* [bug#58841,done,0.2h] Enable the workload proportion feature and then verify the workload proportion.

This commit is contained in:
hufangzhou
2025-01-08 10:30:33 +08:00
committed by 王于听
parent 00b6cf5ae4
commit 2dfe2386f2
+1 -1
View File
@@ -131,7 +131,7 @@ class stageModel extends model
->data($stage)
->autoCheck()
->batchCheck($this->config->stage->edit->requiredFields, 'notempty')
->checkIF($stage->percent != '', 'percent', 'float')->where('id')->eq((int)$stageID)
->checkIF(isset($stage->percent) && $stage->percent != '', 'percent', 'float')->where('id')->eq((int)$stageID)
->exec();
if(dao::isError()) return false;