人员模块多条件查询1.1
This commit is contained in:
parent
bf4a9217f2
commit
a04528b33c
|
@ -74,7 +74,7 @@ public class PersonnelServiceImpl extends BaseService<PersonnelMapper, Personnel
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult personnelList(Page page , SelectRequest request, String orderBy,String column) {
|
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());
|
Personnel personnel = personnelMapper.selectById(request.getId());
|
||||||
PersonnelUpdateDto personnelUpdateDto = BeanUtil.copyProperties(personnel, PersonnelUpdateDto.class);
|
PersonnelUpdateDto personnelUpdateDto = BeanUtil.copyProperties(personnel, PersonnelUpdateDto.class);
|
||||||
personnelUpdateDto.setCardFiles(nameAndPath(personnel.getCardFile(), personnel.getId()));
|
personnelUpdateDto.setCardFiles(nameAndPath(personnel.getCardFile(), personnel.getId()));
|
||||||
|
|
Loading…
Reference in New Issue