Merge branch 'sprint/198_mayue_task#55852' into 'master'

* Finish task #55852.

See merge request easycorp/zentaopms!3716
This commit is contained in:
孙广明
2022-06-02 06:16:12 +00:00
2 changed files with 13 additions and 9 deletions
+3
View File
@@ -73,6 +73,9 @@ class company extends control
/* Get users. */
$users = $this->company->getUsers($browseType, $type, $queryID, $deptID, $sort, $pager);
/* Process the sql, get the conditon partion, save it to session. */
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'user', true);
/* Remove passwd. */
foreach($users as $user) unset($user->password);