2 커밋 f2147d016e ... c2dca4bbb7

작성자 SHA1 메시지 날짜
  zhangc c2dca4bbb7 Merge remote-tracking branch 'origin/v1.0' into v1.0 6 달 전
  zhangc 18644cf80d 验收单 暂存后再提交 前端没有传验收单编号 6 달 전
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/inkasso/factoring/acceptanceManagement/service/impl/CAcceptanceBasicInfoServiceImpl.java

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

@@ -329,13 +329,13 @@ public class CAcceptanceBasicInfoServiceImpl extends ServiceImpl<CAcceptanceBasi
     @Transactional(rollbackFor = Exception.class)
     public ResponseJson add(CAcceptanceBasicInfo acceptanceBasicInfo, HttpServletRequest request) throws Exception {
         if (acceptanceBasicInfo.getId() != null ) {
-            //更新
-            updateAcceptanceSheet(acceptanceBasicInfo,request);
             //前端没有传验收单编号
             CAcceptanceBasicInfo byId = this.getById(acceptanceBasicInfo.getId());
             if(byId!=null){
                 acceptanceBasicInfo.setAcceptanceNumber(byId.getAcceptanceNumber());
             }
+            //更新
+            updateAcceptanceSheet(acceptanceBasicInfo,request);
             updateById(acceptanceBasicInfo);
         } else {
             //保存验收单信息