Преглед на файлове

验收单 暂存后再提交 前端没有传验收单编号

zhangc преди 6 месеца
родител
ревизия
a686afdac0
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      src/main/java/com/inkasso/factoring/acceptanceManagement/service/impl/CAcceptanceBasicInfoServiceImpl.java

+ 4 - 0
src/main/java/com/inkasso/factoring/acceptanceManagement/service/impl/CAcceptanceBasicInfoServiceImpl.java

@@ -331,6 +331,10 @@ public class CAcceptanceBasicInfoServiceImpl extends ServiceImpl<CAcceptanceBasi
         if (acceptanceBasicInfo.getId() != null ) {
             //更新
             updateAcceptanceSheet(acceptanceBasicInfo,request);
+            //前端没有传验收单编号
+            String acceptanceNumber = this.getById(acceptanceBasicInfo.getId())
+                .getAcceptanceNumber();
+            acceptanceBasicInfo.setAcceptanceNumber(acceptanceNumber);
             updateById(acceptanceBasicInfo);
         } else {
             //保存验收单信息