Selaa lähdekoodia

验收单编号

zhangc 7 kuukautta sitten
vanhempi
commit
08649d54e7

+ 2 - 2
src/main/java/com/sunxung/factoring/service/acceptancesheet/impl/AcceptanceBasicInfoServiceImpl.java

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