Commit 8a9c8d01 authored by Quxl's avatar Quxl

x

parent edfbbd0f
......@@ -93,7 +93,7 @@ public class BrandServiceImpl implements BrandService {
+ "b.sLogoUrl, "
+ "b.nSort "
+ "ORDER BY "
+ "b.nSort, "
+ "b.nSort desc, "
+ "b.sPinyinCode ";
return jdbcTemplate.queryForList(sql, orgNo);
}
......
......@@ -69,7 +69,7 @@ public class CategoryServiceImpl implements CategoryService {
if(level == null) {
level = jdbcTemplate.queryForInt("select GoodsCategoryLevel = isnull((select Convert(int,sValue1) from tSystemCtrl where sCode = 'GoodsCategoryLevel'),0)");
}
String three="select sCategoryNO, sCategoryDesc, sUpCategoryNO from tOrgCategory where sOrgNO = ? and nCategoryLevel = ? order by nSort";
String three="select sCategoryNO, sCategoryDesc, sUpCategoryNO from tOrgCategory where sOrgNO = ? and nCategoryLevel = ? order by nSort desc";
List<Map<String,Object>> list3=jdbcTemplate.queryForList(three, orgNO, level);
return list3;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment