* Adjustment Code.

This commit is contained in:
leiyong
2020-10-20 17:27:04 +08:00
parent 376e1c7d6e
commit efd978eb95
18 changed files with 152 additions and 217 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ class deptModel extends model
*/
public function getDeptPairs($deptID = 0)
{
return $this->dao->select('id,name')->from(TABLE_DEPT)->fetchPairs('id', 'name');
return $this->dao->select('id,name')->from(TABLE_DEPT)->fetchPairs();
}
/**