|
|
@ -211,9 +211,10 @@ public class EpmetUserController { |
|
|
* @Description 通讯录】姓名检索工作人员 |
|
|
* @Description 通讯录】姓名检索工作人员 |
|
|
* @author sun |
|
|
* @author sun |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("stafflist") |
|
|
@PostMapping("stafflistbyrealname") |
|
|
public Result<List<ListStaffResultDTO>> staffList(@RequestBody ListStaffFormDTO formDTO) { |
|
|
public Result<List<ListStaffResultDTO>> staffListByRealName(@LoginUser TokenDto tokenDto, @RequestBody ListStaffFormDTO formDTO) { |
|
|
ValidatorUtils.validateEntity(formDTO, ListStaffFormDTO.Staff.class); |
|
|
ValidatorUtils.validateEntity(formDTO, ListStaffFormDTO.Staff.class); |
|
|
|
|
|
formDTO.setCustomerId(formDTO.getCustomerId()); |
|
|
return new Result<List<ListStaffResultDTO>>().ok(epmetUserService.listStaff(formDTO)); |
|
|
return new Result<List<ListStaffResultDTO>>().ok(epmetUserService.listStaff(formDTO)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|