人员模块多条件查询1.1

This commit is contained in:
mash 2023-02-08 16:52:15 +08:00
parent bf4a9217f2
commit a04528b33c
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public class PersonnelServiceImpl extends BaseService<PersonnelMapper, Personnel
*/
@Override
public AjaxResult personnelList(Page page , SelectRequest request, String orderBy,String column) {
if (ObjectUtil.isNotNull(request.getId())){
if (StrUtil.isNotBlank(request.getId())){
Personnel personnel = personnelMapper.selectById(request.getId());
PersonnelUpdateDto personnelUpdateDto = BeanUtil.copyProperties(personnel, PersonnelUpdateDto.class);
personnelUpdateDto.setCardFiles(nameAndPath(personnel.getCardFile(), personnel.getId()));