feat:修改专题活动service

new-v20240713
wangxy 4 days ago
parent d7fa1e0a01
commit 1ced9c4a5b

@ -123,7 +123,9 @@ public class ColumnTreeController extends BaseController {
sysSpecialVo.setColumnName(column.getColumnName());
List<SysSpecial> specialList = specialService.lambdaQuery()
.eq(SysSpecial::getColumnId, column.getColumnId())
.eq(SysSpecial::getStatus, STATUS).list();
.eq(SysSpecial::getStatus, STATUS)
.orderByDesc(SysSpecial::getCreateTime)
.list();
sysSpecialVo.setSysSpecials(specialList);
sysSpecialVos.add(sysSpecialVo);
});

@ -262,6 +262,7 @@ public class HomeController {
if(StringUtils.isNotBlank(columnId)){
queryWrapper.eq(SysDeptTrends::getColumnId, columnId);
}
queryWrapper.orderByDesc(SysDeptTrends::getCreateTime);
List<SysDeptTrends> deptTrends = trendsService.list(queryWrapper);
PageInfo<SysDeptTrends> page = new PageInfo<>(deptTrends, pageSize);
mmap.put("page", page);

@ -188,7 +188,7 @@
<div class="row">
<div class="main-left fl" id="app">
<h2>
专题栏目
部门动态栏目
</h2>
<el-tree
ref="treeRef"

Loading…
Cancel
Save