feat:修改专题活动service

special-20250331
wangxy 3 days ago
parent 3aac9e07cd
commit 0acf005182

@ -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 10"); queryWrapper.last("limit 12");
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 10"); queryWrapper.last("limit 12");
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