|
|
@ -879,7 +879,12 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi |
|
|
|
throw new RenException("未查询到当前工作人员所属组织"); |
|
|
|
} |
|
|
|
Integer no = (formDTO.getPageNo() - NumConstant.ONE) * formDTO.getPageSize(); |
|
|
|
PageInfo<SearchByNameResultDTO> pageInfo = PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize()).doSelectPageInfo(() -> baseDao.searchByName(formDTO.getName(), formDTO.getColumnName(),staffInfo.getAgencyId(), no)); |
|
|
|
PageInfo<SearchByNameResultDTO> pageInfo = PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize()).doSelectPageInfo(() -> baseDao.searchByName(formDTO.getName(), |
|
|
|
formDTO.getColumnName(), |
|
|
|
formDTO.getLevel(), |
|
|
|
formDTO.getId(), |
|
|
|
staffInfo.getAgencyId(), |
|
|
|
no)); |
|
|
|
List<SearchByNameResultDTO> result = pageInfo.getList(); |
|
|
|
if (CollectionUtils.isEmpty(result)) { |
|
|
|
return new PageData<>(new ArrayList<>(), pageInfo.getTotal()); |
|
|
|