* Fix bug #26743. And modify the unit case of batch edit under the execution module.

This commit is contained in:
hufangzhou
2022-08-22 16:09:39 +08:00
parent 1ff75bb2af
commit c34766a68d
3 changed files with 7 additions and 4 deletions
+3
View File
@@ -785,6 +785,9 @@ class executionModel extends model
return false;
}
/* Replace the project language item for message. */
$this->lang->project->name = $this->lang->execution->name;
$this->lang->project->code = $this->lang->execution->code;
$this->dao->update(TABLE_EXECUTION)->data($execution)
->autoCheck($skipFields = 'begin,end')
->batchcheck($this->config->execution->edit->requiredFields, 'notempty')