...
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)
|
.skip((pageNum - 1) * pageSize).limit(pageSize)
|
||||||
.map(dto_ -> {
|
.map(dto_ -> {
|
||||||
ResourceDTO temp = dto_;
|
ResourceDTO temp = dto_;
|
||||||
this.get(dto_.getId());
|
ResourceDTO get = this.get(dto_.getId());
|
||||||
BeanUtils.copyProperties(temp, dto_);
|
BeanUtils.copyProperties(get, dto_);
|
||||||
dto_.setInfoList(temp.getInfoList());
|
dto_.setInfoList(temp.getInfoList());
|
||||||
return dto_;
|
return dto_;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
@ -330,8 +330,8 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
||||||
.skip((pageNum - 1) * pageSize).limit(pageSize)
|
.skip((pageNum - 1) * pageSize).limit(pageSize)
|
||||||
.map(dto_ -> {
|
.map(dto_ -> {
|
||||||
ResourceDTO temp = dto_;
|
ResourceDTO temp = dto_;
|
||||||
this.get(dto_.getId());
|
ResourceDTO get = this.get(dto_.getId());
|
||||||
BeanUtils.copyProperties(temp, dto_);
|
BeanUtils.copyProperties(get, dto_);
|
||||||
dto_.setInfoList(temp.getInfoList());
|
dto_.setInfoList(temp.getInfoList());
|
||||||
return dto_;
|
return dto_;
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
|
|
Loading…
Reference in New Issue