DBTool->queryBySql($sql); $data['code'] = $rowset['code']; $data['info'] = $rowset['info']; $data['rowset'] = $rowset['rowset']; return $data; } function getSaleList() { $sql = "select id,supplier_name as sale_org_name from base_supplier where supplier_type = 301 and cancel_flag = 0"; writeLog('渠道商列表' . $sql); $rowset = $this->DBTool->queryBySql($sql); $data['code'] = $rowset['code']; $data['info'] = $rowset['info']; $data['rowset'] = $rowset['rowset']; return $data; } }