Browse Source

[日常费用][修改[导出模板与导入数据]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
511f227426
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java

+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBillDailyServiceImpl.java View File

@@ -263,7 +263,7 @@ public class WxBillDailyServiceImpl implements WxBillDailyService {
return; return;
} }
Integer type = billDaily.getType(); 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); stringRedisTemplate.opsForHash().increment(importKey, "processCount", 1);
logger.error("账单类型为空", billDaily.toString()); logger.error("账单类型为空", billDaily.toString());
return; return;
@@ -320,6 +320,7 @@ public class WxBillDailyServiceImpl implements WxBillDailyService {
billDaily.setStatus(EnumBillRentStatus.PAID.getCode()); billDaily.setStatus(EnumBillRentStatus.PAID.getCode());
} }


billDaily.setUserId(user.getId());
billDaily.setShopId(wxShop.getId()); billDaily.setShopId(wxShop.getId());
billDaily.setRentShopType(wxShop.getType()); billDaily.setRentShopType(wxShop.getType());
billDaily.setPayWay(EnumBillPayWay.OTHER.getCode()); billDaily.setPayWay(EnumBillPayWay.OTHER.getCode());


Loading…
Cancel
Save