Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
e0de005c1b
@ -42,8 +42,10 @@ public class SysLogController extends BaseController {
|
||||
* @return 所有数据
|
||||
*/
|
||||
@GetMapping
|
||||
public ResponseObject selectAll(Page<SysLog> page, SysLog sysLog) {
|
||||
public ResponseObject selectAll(@RequestParam(value = "pageNum",defaultValue = "1") Integer pageNo,
|
||||
@RequestParam(value = "pageSize",defaultValue = "10") Integer pageSize, SysLog sysLog) {
|
||||
LambdaQueryWrapper<SysLog> sysLogLambdaQueryWrapper = new LambdaQueryWrapper();
|
||||
Page page =new Page(pageNo,pageSize);
|
||||
if (!StringUtils.isEmpty(sysLog.getCreateName())){
|
||||
sysLogLambdaQueryWrapper.like(SysLog::getCreateName,sysLog.getCreateName());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user