|
@@ -271,7 +271,7 @@ class Common extends CI_Controller {
|
|
|
|
|
|
// 获取制造商下拉列表
|
|
|
public function manu_nav(){
|
|
|
- $list = $this->db->query('select id,name,no,companyId from company where type = 2 and companyId != "" order by companyId ASC')->result_array();
|
|
|
+ $list = $this->db->query('select id,name,no,companyId from company where type = 2 and companyId != "" order by companyId DESC')->result_array();
|
|
|
foreach ($list as $key => $value) {
|
|
|
if (!empty($value['no'])) {
|
|
|
$list[$key]['name'] = $value['no'];
|