From 8c3ac52d2a6525c13de8b674a2b226ee574795de Mon Sep 17 00:00:00 2001 From: gongbiao Date: Wed, 6 Mar 2019 15:17:07 +0800 Subject: [PATCH] =?UTF-8?q?[=E8=B4=A6=E5=8D=95=E6=80=BB=E8=A7=88][?= =?UTF-8?q?=E4=BF=AE=E6=94=B9][=E6=8C=89=E6=9D=A1=E4=BB=B6=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=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 | 32 +++++++++++-------- 1 file changed, 18 insertions(+), 14 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 28f8819d9..a72eaec88 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxBillAllServiceImpl.java @@ -224,16 +224,18 @@ public class WxBillAllServiceImpl implements WxBillAllService { Row row = sheet.createRow(0); Cell shopNumberCell = row.createCell(0); Cell merchantNameCell = row.createCell(1); - Cell billNameCell = row.createCell(2); - Cell receivePayCell = row.createCell(3); - Cell payCell = row.createCell(4); - Cell oweCell = row.createCell(5); - Cell receiveDateCell = row.createCell(6); - Cell expiredDayCell = row.createCell(7); - Cell statusCell = row.createCell(8); + Cell shopTypeCell = row.createCell(2); + Cell billNameCell = row.createCell(3); + Cell receivePayCell = row.createCell(4); + Cell payCell = row.createCell(5); + Cell oweCell = row.createCell(6); + Cell receiveDateCell = row.createCell(7); + Cell expiredDayCell = row.createCell(8); + Cell statusCell = row.createCell(9); shopNumberCell.setCellValue("商铺号"); merchantNameCell.setCellValue("商户名称"); + shopTypeCell.setCellValue("商铺类型"); billNameCell.setCellValue("费用类型"); receivePayCell.setCellValue("实际应收金额(元)"); payCell.setCellValue("实收金额(元)"); @@ -246,17 +248,19 @@ public class WxBillAllServiceImpl implements WxBillAllService { row = sheet.createRow(i + 1); shopNumberCell = row.createCell(0); merchantNameCell = row.createCell(1); - billNameCell = row.createCell(2); - receivePayCell = row.createCell(3); - payCell = row.createCell(4); - oweCell = row.createCell(5); - receiveDateCell = row.createCell(6); - expiredDayCell = row.createCell(7); - statusCell = row.createCell(8); + shopTypeCell = row.createCell(2); + billNameCell = row.createCell(3); + receivePayCell = row.createCell(4); + payCell = row.createCell(5); + oweCell = row.createCell(6); + receiveDateCell = row.createCell(7); + expiredDayCell = row.createCell(8); + statusCell = row.createCell(9); Map billMap = billList.get(i); logger.info(billMap.toString()); shopNumberCell.setCellValue(billMap.get("shopNumber").toString()); merchantNameCell.setCellValue(billMap.get("merchantName").toString()); + shopTypeCell.setCellValue(EnumRentShopType.getEnum((Integer) billMap.get("rentShopType")).getMessage()); billNameCell.setCellValue(billMap.get("name").toString()); BigDecimal needPay = new BigDecimal(billMap.get("pay").toString()).divide(new BigDecimal(100)); payCell.setCellValue(needPay.toString());