From 511f22742616ef3e4bbcd3c4036fa9dfdaabff9d Mon Sep 17 00:00:00 2001 From: gongbiao Date: Mon, 13 May 2019 15:50:36 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=97=A5=E5=B8=B8=E8=B4=B9=E7=94=A8][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9[=E5=AF=BC=E5=87=BA=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E4=B8=8E=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 --- .../java/com/iformall/service/impl/WxBillDailyServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java index c449407a8..84c090a0b 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java @@ -263,7 +263,7 @@ public class WxBillDailyServiceImpl implements WxBillDailyService { return; } Integer type = billDaily.getType(); - if (type != null && (type.equals(EnumBillDailyType.WATER.getCode()) || type.equals(EnumBillDailyType.POWER.getCode()))) { + if (type != null) { stringRedisTemplate.opsForHash().increment(importKey, "processCount", 1); logger.error("账单类型为空", billDaily.toString()); return; @@ -320,6 +320,7 @@ public class WxBillDailyServiceImpl implements WxBillDailyService { billDaily.setStatus(EnumBillRentStatus.PAID.getCode()); } + billDaily.setUserId(user.getId()); billDaily.setShopId(wxShop.getId()); billDaily.setRentShopType(wxShop.getType()); billDaily.setPayWay(EnumBillPayWay.OTHER.getCode());