...
This commit is contained in:
parent
73f0607099
commit
4058089bcd
|
@ -259,8 +259,8 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
.skip((pageNum - 1) * pageSize).limit(pageSize)
|
||||
.map(dto_ -> {
|
||||
ResourceDTO temp = dto_;
|
||||
this.get(dto_.getId());
|
||||
BeanUtils.copyProperties(temp, dto_);
|
||||
ResourceDTO get = this.get(dto_.getId());
|
||||
BeanUtils.copyProperties(get, dto_);
|
||||
dto_.setInfoList(temp.getInfoList());
|
||||
return dto_;
|
||||
}).collect(Collectors.toList());
|
||||
|
@ -330,8 +330,8 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
.skip((pageNum - 1) * pageSize).limit(pageSize)
|
||||
.map(dto_ -> {
|
||||
ResourceDTO temp = dto_;
|
||||
this.get(dto_.getId());
|
||||
BeanUtils.copyProperties(temp, dto_);
|
||||
ResourceDTO get = this.get(dto_.getId());
|
||||
BeanUtils.copyProperties(get, dto_);
|
||||
dto_.setInfoList(temp.getInfoList());
|
||||
return dto_;
|
||||
}).collect(Collectors.toList());
|
||||
|
|
Loading…
Reference in New Issue