소스 검색

Merge branch 'dev-xpy' into dev

xupuyuan 3 달 전
부모
커밋
53c178fcfa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/common/dao/store/StoreAttrTemplateDao.php

+ 1 - 1
app/common/dao/store/StoreAttrTemplateDao.php

@@ -111,6 +111,6 @@ class StoreAttrTemplateDao extends BaseDao
111
 
111
 
112
     public function getList($merId)
112
     public function getList($merId)
113
     {
113
     {
114
-        return ($this->getModel())::getDB()->where('mer_id',$merId)->field('attr_template_id,template_name,template_value')->select();
114
+        return ($this->getModel())::getDB()->where('mer_id',$merId)->field('attr_template_id,template_name,template_value')->order('attr_template_id DESC')->select();
115
     }
115
     }
116
 }
116
 }