refactor: 日志和websocket代码优化

This commit is contained in:
Ray.Hao
2024-09-13 21:50:41 +08:00
parent 5d24d7496f
commit ef6889857a
10 changed files with 48 additions and 33 deletions

View File

@@ -25,7 +25,7 @@ public interface LogService extends IService<Log> {
* @param queryParams 查询参数
* @return
*/
Page<LogPageVO> listPagedLogs(LogPageQuery queryParams);
Page<LogPageVO> getLogPage(LogPageQuery queryParams);
/**

View File

@@ -36,8 +36,8 @@ public class LogServiceImpl extends ServiceImpl<LogMapper, Log>
* @return
*/
@Override
public Page<LogPageVO> listPagedLogs(LogPageQuery queryParams) {
return this.baseMapper.listPagedLogs(new Page<>(queryParams.getPageNum(), queryParams.getPageSize()),
public Page<LogPageVO> getLogPage(LogPageQuery queryParams) {
return this.baseMapper.getLogPage(new Page<>(queryParams.getPageNum(), queryParams.getPageSize()),
queryParams);
}