From 7e32358780891839e806e1a382c4c74c0fb654eb Mon Sep 17 00:00:00 2001 From: gongbiao Date: Wed, 3 Jul 2019 16:55:43 +0800 Subject: [PATCH] =?UTF-8?q?[=E8=B4=A6=E5=8D=95][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E5=AF=BC=E5=85=A5=E6=95=B0=E6=8D=AE]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WxBillAllServiceImpl.java | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java index 589dab892..ef3ba1e53 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java @@ -1142,27 +1142,27 @@ public class WxBillAllServiceImpl implements WxBillAllService { wxMerchantShop.setIsDel(EnumDelStatus.NOT_DEL.getCode()); List select = wxMerchantShopMapper.select(wxMerchantShop); if (!select.isEmpty()) { - otherDepositQuery = new WxBillOtherDeposit(); + otherDeposit = new WxBillOtherDeposit(); final IdWorker idWorker = IdWorker.get(); - otherDepositQuery.setId(idWorker.nextId()); - otherDepositQuery.setName(bill.getBillAttr()); - otherDepositQuery.setComments(bill.getBillAttr()); - otherDepositQuery.setStatus(EnumBillRentStatus.PAID.getCode()); - otherDepositQuery.setReceivePay(pay); - otherDepositQuery.setReceiveDate(bill.getReceiveDate()); - otherDepositQuery.setPay(pay); - otherDepositQuery.setTenantId(tenantId); - otherDepositQuery.setMerchantId(bill.getMerchantId()); - otherDepositQuery.setShopId(select.get(0).getShopId()); - otherDepositQuery.setRentShopType(bill.getMerchantType()); - otherDepositQuery.setPayDate(bill.getPayDate()); + otherDeposit.setId(idWorker.nextId()); + otherDeposit.setName(bill.getBillAttr()); + otherDeposit.setComments(bill.getBillAttr()); + otherDeposit.setStatus(EnumBillRentStatus.PAID.getCode()); + otherDeposit.setReceivePay(pay); + otherDeposit.setReceiveDate(bill.getReceiveDate()); + otherDeposit.setPay(pay); + otherDeposit.setTenantId(tenantId); + otherDeposit.setMerchantId(bill.getMerchantId()); + otherDeposit.setShopId(select.get(0).getShopId()); + otherDeposit.setRentShopType(bill.getMerchantType()); + otherDeposit.setPayDate(bill.getPayDate()); Date date = new Date(); - otherDepositQuery.setCreatetime(date); - otherDepositQuery.setUpdatetime(date); - otherDepositQuery.setExpiredDay(0L); - otherDepositQuery.setOwe(0L); - otherDepositQuery.setIsDel(EnumDelStatus.NOT_DEL.getCode()); - wxBillOtherDepositMapper.insertSelective(otherDepositQuery); + otherDeposit.setCreatetime(date); + otherDeposit.setUpdatetime(date); + otherDeposit.setExpiredDay(0L); + otherDeposit.setOwe(0L); + otherDeposit.setIsDel(EnumDelStatus.NOT_DEL.getCode()); + wxBillOtherDepositMapper.insertSelective(otherDeposit); } } addActionImport(otherDeposit.getId(), bill.getPayWay(), user);