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) {