修改
This commit is contained in:
1 parent
f1662deaf0
commit
ec763d0610
1 file changed
+2
-2
+2
-2
@@ -109,10 +109,10 @@ public class SmErpCgPlanController {
|
||||
SmErpCgPlanEntity smErpCgPlanEntity = smErpCgPlanService.getById(id);
|
||||
List<SmErpCgPlanItemEntity> list = smErpCgPlanItemService.list(new LambdaQueryWrapper<SmErpCgPlanItemEntity>()
|
||||
.eq(SmErpCgPlanItemEntity::getPlanId, id));
|
||||
BeanUtils.toBean(smErpCgPlanEntity, SmErpCgPlanVo.class, (source) -> {
|
||||
SmErpCgPlanVo bean = BeanUtils.toBean(smErpCgPlanEntity, SmErpCgPlanVo.class, (source) -> {
|
||||
source.setItems(BeanUtils.toBean(list, SmeErpCgPlanItemVo.class));
|
||||
});
|
||||
return R.ok(smErpCgPlanEntity);
|
||||
return R.ok(bean);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user