|
@@ -1085,8 +1085,10 @@ public class AcceptanceBasicInfoServiceImpl extends ServiceImpl<AcceptanceBasicI
|
|
List<String> sellBillNumber = oldAcceptanceBasicInfo.getSellBillNumber();
|
|
List<String> sellBillNumber = oldAcceptanceBasicInfo.getSellBillNumber();
|
|
Long oldId = oldAcceptanceBasicInfo.getId();
|
|
Long oldId = oldAcceptanceBasicInfo.getId();
|
|
//保存基础信息
|
|
//保存基础信息
|
|
|
|
+ AcceptanceBasicInfo basicInfo = get(oldAcceptanceBasicInfo.getId());
|
|
AcceptanceHisInfo acceptanceHisInfo = new AcceptanceHisInfo();
|
|
AcceptanceHisInfo acceptanceHisInfo = new AcceptanceHisInfo();
|
|
BeanUtils.copyProperties(oldAcceptanceBasicInfo, acceptanceHisInfo, "id");
|
|
BeanUtils.copyProperties(oldAcceptanceBasicInfo, acceptanceHisInfo, "id");
|
|
|
|
+ acceptanceHisInfo.setAcceptanceNumber(basicInfo.getAcceptanceNumber());
|
|
//保存历史基础信息
|
|
//保存历史基础信息
|
|
acceptanceHisInfoService.save(acceptanceHisInfo);
|
|
acceptanceHisInfoService.save(acceptanceHisInfo);
|
|
//保存相关货物信息
|
|
//保存相关货物信息
|