修改部分

This commit is contained in:
wulin 2020-09-04 15:38:49 +08:00
parent 6ef8b2124b
commit 76b4004687

View File

@ -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>()