|
@@ -190,7 +190,7 @@ public class CommunityArticleController extends BaseController {
|
|
public AjaxResult getClassList() {
|
|
public AjaxResult getClassList() {
|
|
List<CommunityClass> communityClasses = null;
|
|
List<CommunityClass> communityClasses = null;
|
|
try {
|
|
try {
|
|
- communityClasses = communityClassMapper.selectList(new QueryWrapper<CommunityClass>());
|
|
|
|
|
|
+ communityClasses = communityClassMapper.selectList(new QueryWrapper<CommunityClass>().orderByAsc("sort"));
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
System.out.println(e.getMessage());
|
|
System.out.println(e.getMessage());
|
|
throw new ProjectException();
|
|
throw new ProjectException();
|