From 27fe55260c790bf262e09fd566366c15b3704cef Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 21 十一月 2020 16:06:01 +0800
Subject: [PATCH] 优化代码
---
service-user/src/main/java/com/java110/user/bmo/rentingAppointment/impl/SaveRentingAppointmentBMOImpl.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/service-user/src/main/java/com/java110/user/bmo/rentingAppointment/impl/SaveRentingAppointmentBMOImpl.java b/service-user/src/main/java/com/java110/user/bmo/rentingAppointment/impl/SaveRentingAppointmentBMOImpl.java
index 735cdcc..9d8c16b 100644
--- a/service-user/src/main/java/com/java110/user/bmo/rentingAppointment/impl/SaveRentingAppointmentBMOImpl.java
+++ b/service-user/src/main/java/com/java110/user/bmo/rentingAppointment/impl/SaveRentingAppointmentBMOImpl.java
@@ -2,7 +2,8 @@
import com.java110.core.annotation.Java110Transactional;
import com.java110.core.factory.GenerateCodeFactory;
-import com.java110.intf.IRentingAppointmentInnerServiceSMO;
+import com.java110.dto.rentingAppointment.RentingAppointmentDto;
+import com.java110.intf.user.IRentingAppointmentInnerServiceSMO;
import com.java110.po.rentingAppointment.RentingAppointmentPo;
import com.java110.user.bmo.rentingAppointment.ISaveRentingAppointmentBMO;
import com.java110.vo.ResultVo;
@@ -26,6 +27,7 @@
public ResponseEntity<String> save(RentingAppointmentPo rentingAppointmentPo) {
rentingAppointmentPo.setAppointmentId(GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_appointmentId));
+ rentingAppointmentPo.setState(RentingAppointmentDto.STATE_SUBMIT);
int flag = rentingAppointmentInnerServiceSMOImpl.saveRentingAppointment(rentingAppointmentPo);
if (flag > 0) {
--
Gitblit v1.8.0