From 4e1a90c9a669a428b568154f58e57653fb3e389d Mon Sep 17 00:00:00 2001 From: gongbiao Date: Mon, 14 Jan 2019 13:52:34 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=9F=E8=B5=81=E5=90=88=E5=90=8C][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E6=B7=BB=E5=8A=A0override=E6=B3=A8?= =?UTF-8?q?=E8=A7=A3]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../iformall/service/impl/WxRentContractServiceImpl.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java index 421ae8815..7bcb14b40 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java @@ -268,6 +268,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { @Transactional(rollbackFor = {Exception.class}) + @Override public void buildDeposit(WxMerchant wxMerchant, Long userId) { WxRentContract wxRentContract = new WxRentContract(); wxRentContract.setMerchantId(wxMerchant.getId()); @@ -324,7 +325,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { wxBillDeposit.setCreatetime(date); wxBillDeposit.setUpdatetime(date); wxBillDeposit.setIsDel(EnumDelStatus.NOT_DEL.getCode()); - + wxBillDeposit.setRentShopType(wxRentContract.getRentShopType()); try { wxBillDepositMapper.insertSelective(wxBillDeposit); } catch (Exception e) { @@ -334,6 +335,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { } } + @Override @Transactional(rollbackFor = {Exception.class}) public void buildRent(WxMerchant wxMerchant, Long userId) { @@ -468,7 +470,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { wxBillRent.setCreatetime(date); wxBillRent.setUpdatetime(date); wxBillRent.setIsDel(EnumDelStatus.NOT_DEL.getCode()); - + wxBillRent.setRentShopType(wxRentContract.getRentShopType()); try { wxBillRentMapper.insertSelective(wxBillRent); } catch (Exception e) {