Commit 8f73f33c authored by 张辰's avatar 张辰

fix Bug

parent ec9a8071
......@@ -88,7 +88,7 @@ public class ThemeService {
queryWrapper.lt(ThemeEntity::getCreateTime, lastEntity.getCreateTime());
}
if (pageSize != null) {
queryWrapper.last("order by create_time desc limit " + pageSize);
queryWrapper.last("limit " + pageSize);
}
return themeMapper.selectList(queryWrapper);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment