修改部分
This commit is contained in:
parent
6ef8b2124b
commit
76b4004687
@ -1,6 +1,7 @@
|
||||
package com.lz.modules.equipment.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.lz.common.utils.PageUtils;
|
||||
import com.lz.common.utils.R;
|
||||
import com.lz.common.utils.RedisUtils;
|
||||
import com.lz.common.utils.StringUtil;
|
||||
@ -57,6 +58,7 @@ public class EmployeeController extends AbstractController {
|
||||
@PostMapping("findEmployeeByName")
|
||||
public R findEmployeeByName(@RequestBody @ApiParam FindByNameModel nameModel){
|
||||
List<FindEmployeeResModel> data = new ArrayList<>();
|
||||
PageUtils pageUtils = staffService.queryPage();
|
||||
Page<StaffEntity> employeesInfoPage = staffService.selectPage(
|
||||
new Page<>(nameModel.getCurrPage(), nameModel.getPageSize()),
|
||||
new EntityWrapper<StaffEntity>()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user