|
@@ -130,4 +130,14 @@ public class FillGatherServiceImpl extends BaseServiceImpl<FillGatherMapper, Fil
|
|
|
}
|
|
|
return BeanConverterUtil.copyObjectProperties(fillGathers.get(0), new FillGatherVO());
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public FillGatherVO getVOById(String id) {
|
|
|
+ FillGather gather = mapper.selectByPrimaryKey(id);
|
|
|
+ FillGatherVO vo = BeanConverterUtil.copyObjectProperties(gather, FillGatherVO.class);
|
|
|
+ FillGatherInfo queryInfo = new FillGatherInfo();
|
|
|
+ queryInfo.setGatherId(id);
|
|
|
+ vo.setInfos(fillGatherInfoMapper.select(queryInfo));
|
|
|
+ return vo;
|
|
|
+ }
|
|
|
}
|