From ba5210dc8c6c537cacc59c18d58baa9744cd2b9d Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 10 五月 2022 11:14:39 +0800
Subject: [PATCH] 优化报修单推送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