/** *功能:获取用户表信息 *@return $ret array 用户数据 * */ public function getPurchaseUser() { $fields = " global_user_id as id,global_user_name as username "; $table = "power_global_user"; $where = "WHERE global_user_is_delete =0 AND global_user_status = 1 AND global_user_dept = 6 ORDER BY username ASC "; $ret = OmAvailableAct::getTNameList($table, $fields, $where); if (isset($ret[0]['id'])) { return $ret; } self::$errCode = '0130'; self::$errMsg = "获取采购列表失败"; }