|
@@ -46,8 +46,8 @@ public class CaseTagServiceImpl extends ServiceImpl<ICaseTagMapper, CaseTag> imp
|
|
|
if(StringUtils.isNotBlank(tagTitle)){
|
|
|
wrapper.like(CaseTag::getTagTitle,tagTitle);
|
|
|
}
|
|
|
- wrapper.orderByDesc(CaseTag::getSort);
|
|
|
- wrapper.orderByDesc(CaseTag::getCreateTime);
|
|
|
+ wrapper.orderByAsc(CaseTag::getSort);
|
|
|
+ wrapper.orderByAsc(CaseTag::getCreateTime);
|
|
|
List<CaseTag> list = this.list(wrapper);
|
|
|
HashMap<Integer,Long> countMap = caseTagPointService.getGroupByTagId();
|
|
|
list.forEach(entity -> entity.setPlaceNum(countMap.get(entity.getTagId())));
|