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