From 22e8a676ee42c0d78b3526bcd9a635abbe8dca03 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期二, 28 六月 2022 11:28:21 +0800
Subject: [PATCH] 优化databus bug

---
 service-user/src/main/java/com/java110/user/bmo/rentingPool/impl/SaveRentingPoolBMOImpl.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/service-user/src/main/java/com/java110/user/bmo/rentingPool/impl/SaveRentingPoolBMOImpl.java b/service-user/src/main/java/com/java110/user/bmo/rentingPool/impl/SaveRentingPoolBMOImpl.java
old mode 100644
new mode 100755
index 915d092..de08bf9
--- a/service-user/src/main/java/com/java110/user/bmo/rentingPool/impl/SaveRentingPoolBMOImpl.java
+++ b/service-user/src/main/java/com/java110/user/bmo/rentingPool/impl/SaveRentingPoolBMOImpl.java
@@ -51,13 +51,13 @@
         if (rentingPoolDtos != null && rentingPoolDtos.size() > 0) {
             throw new IllegalArgumentException("璇ユ埧灞嬪綋鍓嶄负" + rentingPoolDtos.get(0).getStateName() + ",涓嶈兘鍐嶆鍑虹");
         }
-
+        rentingPoolPo.setRentingId(GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_rentingId));
         if (photos.size() > 0) {
             savaRentingFile(photos, rentingPoolPo);
         }
 
 
-        rentingPoolPo.setRentingId(GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_rentingId));
+
         int flag = rentingPoolInnerServiceSMOImpl.saveRentingPool(rentingPoolPo);
 
         if (flag > 0) {

--
Gitblit v1.8.0