Browse Source

新建流程

licailing 5 years ago
parent
commit
7c794126b6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/izouma/uwip/service/LogoPatentService.java

+ 2 - 2
src/main/java/com/izouma/uwip/service/LogoPatentService.java

@@ -67,13 +67,13 @@ public class LogoPatentService {
             record.setSort(logoPatentRepo.findMax());
             record.setSort(logoPatentRepo.findMax());
         }
         }
         record.setUwNo(this.getUwNo(record));
         record.setUwNo(this.getUwNo(record));
+        record.setLogoWorkflow(LogoWorkflow.IS_CONTRACT);
+        record.setApplyStatus(ApplyStatus.APPLY_STAGE);
         record = logoPatentRepo.save(record);
         record = logoPatentRepo.save(record);
         // 保存附件
         // 保存附件
         if (CollectionUtils.isNotEmpty(record.getAttachments())) {
         if (CollectionUtils.isNotEmpty(record.getAttachments())) {
             attachmentService.batchSave(record.getAttachments(), id, record.getId());
             attachmentService.batchSave(record.getAttachments(), id, record.getId());
         }
         }
-        record.setLogoWorkflow(LogoWorkflow.IS_CONTRACT);
-        record.setApplyStatus(ApplyStatus.APPLY_STAGE);
         return record;
         return record;
     }
     }