feat:添加专题活动,动态查询条件

new-v20240713
wangxy 1 week ago
parent 94126981b3
commit 315a07216a

@ -115,7 +115,7 @@ public class HomeController {
queryWrapper.eq(SysColumn::getColumnType, SPECIAL_COLUMN_TYPE); queryWrapper.eq(SysColumn::getColumnType, SPECIAL_COLUMN_TYPE);
queryWrapper.eq(SysColumn::getColumnGrade, COLUMN_GRADE); queryWrapper.eq(SysColumn::getColumnGrade, COLUMN_GRADE);
queryWrapper.eq(SysColumn::getStatus,STATUS); queryWrapper.eq(SysColumn::getStatus,STATUS);
queryWrapper.last("limit 6"); queryWrapper.last("limit 10");
queryWrapper.orderByAsc(SysColumn::getOrderNum); queryWrapper.orderByAsc(SysColumn::getOrderNum);
List<SysColumn> specialColumns = columnService.list(queryWrapper); List<SysColumn> specialColumns = columnService.list(queryWrapper);
mmap.put("specialColumns", specialColumns); mmap.put("specialColumns", specialColumns);
@ -181,7 +181,7 @@ public class HomeController {
queryWrapper.eq(SysColumn::getColumnType, SPECIAL_COLUMN_TYPE); queryWrapper.eq(SysColumn::getColumnType, SPECIAL_COLUMN_TYPE);
queryWrapper.eq(SysColumn::getColumnGrade, COLUMN_GRADE); queryWrapper.eq(SysColumn::getColumnGrade, COLUMN_GRADE);
queryWrapper.eq(SysColumn::getStatus,STATUS); queryWrapper.eq(SysColumn::getStatus,STATUS);
queryWrapper.last("limit 6"); queryWrapper.last("limit 10");
queryWrapper.orderByAsc(SysColumn::getOrderNum); queryWrapper.orderByAsc(SysColumn::getOrderNum);
List<SysColumn> specialColumns = columnService.list(queryWrapper); List<SysColumn> specialColumns = columnService.list(queryWrapper);
mmap.put("specialColumns", specialColumns); mmap.put("specialColumns", specialColumns);

Loading…
Cancel
Save