统计报表里加上支付宝号
This commit is contained in:
@@ -68,15 +68,16 @@ public class StatisticsController {
|
||||
titleRow.createCell(8).setCellValue("支付类型");
|
||||
titleRow.createCell(9).setCellValue("支付时间");
|
||||
titleRow.createCell(10).setCellValue("订单编号");
|
||||
titleRow.createCell(11).setCellValue("天数");
|
||||
titleRow.createCell(12).setCellValue("金额");
|
||||
titleRow.createCell(13).setCellValue("备注");
|
||||
titleRow.createCell(14).setCellValue("每日摊销");
|
||||
titleRow.createCell(15).setCellValue("已摊销天数");
|
||||
titleRow.createCell(16).setCellValue("本期天数");
|
||||
titleRow.createCell(17).setCellValue("已摊销金额");
|
||||
titleRow.createCell(18).setCellValue("本期摊销金额");
|
||||
titleRow.createCell(19).setCellValue("剩余金额");
|
||||
titleRow.createCell(11).setCellValue("支付宝号");
|
||||
titleRow.createCell(12).setCellValue("天数");
|
||||
titleRow.createCell(13).setCellValue("金额");
|
||||
titleRow.createCell(14).setCellValue("备注");
|
||||
titleRow.createCell(15).setCellValue("每日摊销");
|
||||
titleRow.createCell(16).setCellValue("已摊销天数");
|
||||
titleRow.createCell(17).setCellValue("本期天数");
|
||||
titleRow.createCell(18).setCellValue("已摊销金额");
|
||||
titleRow.createCell(19).setCellValue("本期摊销金额");
|
||||
titleRow.createCell(20).setCellValue("剩余金额");
|
||||
int cell = 1;
|
||||
for (Map<String,Object> map : maps) {
|
||||
Row row = sheet.createRow(cell);
|
||||
@@ -91,15 +92,16 @@ public class StatisticsController {
|
||||
row.createCell(8).setCellValue(map.get("payType").toString());
|
||||
row.createCell(9).setCellValue(map.get("payTime").toString());
|
||||
row.createCell(10).setCellValue(map.get("orderSn").toString());
|
||||
row.createCell(11).setCellValue(map.get("days").toString());
|
||||
row.createCell(12).setCellValue(map.get("fee").toString());
|
||||
row.createCell(13).setCellValue(map.get("remark").toString());
|
||||
row.createCell(14).setCellValue(map.get("dayAmount").toString());
|
||||
row.createCell(15).setCellValue(map.get("alreadyDay").toString());
|
||||
row.createCell(16).setCellValue(map.get("currentDay").toString());
|
||||
row.createCell(17).setCellValue(map.get("alreadyTanxiao").toString());
|
||||
row.createCell(18).setCellValue(map.get("currentTanxiao").toString());
|
||||
row.createCell(19).setCellValue(map.get("surplusTanxiao").toString());
|
||||
row.createCell(11).setCellValue(map.get("zfbOrder")==null?"":map.get("zfbOrder").toString());
|
||||
row.createCell(12).setCellValue(map.get("days").toString());
|
||||
row.createCell(13).setCellValue(map.get("fee").toString());
|
||||
row.createCell(14).setCellValue(map.get("remark").toString());
|
||||
row.createCell(15).setCellValue(map.get("dayAmount").toString());
|
||||
row.createCell(16).setCellValue(map.get("alreadyDay").toString());
|
||||
row.createCell(17).setCellValue(map.get("currentDay").toString());
|
||||
row.createCell(18).setCellValue(map.get("alreadyTanxiao").toString());
|
||||
row.createCell(19).setCellValue(map.get("currentTanxiao").toString());
|
||||
row.createCell(20).setCellValue(map.get("surplusTanxiao").toString());
|
||||
//序号自增
|
||||
cell++;
|
||||
}
|
||||
@@ -148,10 +150,11 @@ public class StatisticsController {
|
||||
titleRow.createCell(3).setCellValue("类型");
|
||||
titleRow.createCell(4).setCellValue("支付方式");
|
||||
titleRow.createCell(5).setCellValue("订单编号");
|
||||
titleRow.createCell(6).setCellValue("变动金额");
|
||||
titleRow.createCell(7).setCellValue("备注");
|
||||
titleRow.createCell(8).setCellValue("商品类型");
|
||||
titleRow.createCell(9).setCellValue("商品名称");
|
||||
titleRow.createCell(6).setCellValue("支付宝号");
|
||||
titleRow.createCell(7).setCellValue("变动金额");
|
||||
titleRow.createCell(8).setCellValue("备注");
|
||||
titleRow.createCell(9).setCellValue("商品类型");
|
||||
titleRow.createCell(10).setCellValue("商品名称");
|
||||
//序号,默认为1
|
||||
int cell = 1;
|
||||
//遍历
|
||||
@@ -163,10 +166,11 @@ public class StatisticsController {
|
||||
row.createCell(3).setCellValue(map.get("type").toString());
|
||||
row.createCell(4).setCellValue(map.get("payMethod").toString());
|
||||
row.createCell(5).setCellValue(map.get("payNo").toString());
|
||||
row.createCell(6).setCellValue(map.get("changeAmount").toString());
|
||||
row.createCell(7).setCellValue(map.get("note").toString());
|
||||
row.createCell(8).setCellValue(map.get("goodsType").toString());
|
||||
row.createCell(9).setCellValue(map.get("productName").toString());
|
||||
row.createCell(6).setCellValue(map.get("zfbOrder")==null?"":map.get("zfbOrder").toString());
|
||||
row.createCell(7).setCellValue(map.get("changeAmount").toString());
|
||||
row.createCell(8).setCellValue(map.get("note").toString());
|
||||
row.createCell(9).setCellValue(map.get("goodsType").toString());
|
||||
row.createCell(10).setCellValue(map.get("productName").toString());
|
||||
//序号自增
|
||||
cell++;
|
||||
}
|
||||
@@ -212,11 +216,12 @@ public class StatisticsController {
|
||||
titleRow.createCell(1).setCellValue("姓名");
|
||||
titleRow.createCell(2).setCellValue("电话");
|
||||
titleRow.createCell(3).setCellValue("订单号");
|
||||
titleRow.createCell(4).setCellValue("订单状态");
|
||||
titleRow.createCell(5).setCellValue("支付方式");
|
||||
titleRow.createCell(6).setCellValue("订单金额");
|
||||
titleRow.createCell(7).setCellValue("实物金额");
|
||||
titleRow.createCell(8).setCellValue("商品名称");
|
||||
titleRow.createCell(4).setCellValue("支付宝号");
|
||||
titleRow.createCell(5).setCellValue("订单状态");
|
||||
titleRow.createCell(6).setCellValue("支付方式");
|
||||
titleRow.createCell(7).setCellValue("订单金额");
|
||||
titleRow.createCell(8).setCellValue("实物金额");
|
||||
titleRow.createCell(9).setCellValue("商品名称");
|
||||
//序号,默认为1
|
||||
int cell = 1;
|
||||
//遍历
|
||||
@@ -226,11 +231,12 @@ public class StatisticsController {
|
||||
row.createCell(1).setCellValue(map.get("name").toString());
|
||||
row.createCell(2).setCellValue(map.get("tel").toString());
|
||||
row.createCell(3).setCellValue(map.get("orderSn").toString());
|
||||
row.createCell(4).setCellValue(map.get("orderStatus").toString());
|
||||
row.createCell(5).setCellValue(map.get("payType").toString());
|
||||
row.createCell(6).setCellValue(map.get("orderPrice").toString());
|
||||
row.createCell(7).setCellValue(map.get("price").toString());
|
||||
row.createCell(8).setCellValue(map.get("productName").toString());
|
||||
row.createCell(4).setCellValue(map.get("zfbOrder")==null?"":map.get("zfbOrder").toString());
|
||||
row.createCell(5).setCellValue(map.get("orderStatus").toString());
|
||||
row.createCell(6).setCellValue(map.get("payType").toString());
|
||||
row.createCell(7).setCellValue(map.get("orderPrice").toString());
|
||||
row.createCell(8).setCellValue(map.get("price").toString());
|
||||
row.createCell(9).setCellValue(map.get("productName").toString());
|
||||
//序号自增
|
||||
cell++;
|
||||
}
|
||||
@@ -279,18 +285,19 @@ public class StatisticsController {
|
||||
titleRow.createCell(4).setCellValue("结束时间");
|
||||
titleRow.createCell(5).setCellValue("支付时间");
|
||||
titleRow.createCell(6).setCellValue("订单号");
|
||||
titleRow.createCell(7).setCellValue("支付方式");
|
||||
titleRow.createCell(8).setCellValue("备注");
|
||||
titleRow.createCell(9).setCellValue("缴费金额");
|
||||
titleRow.createCell(10).setCellValue("摊销计算金额");
|
||||
titleRow.createCell(11).setCellValue("总天数");
|
||||
titleRow.createCell(12).setCellValue("每日摊销");
|
||||
titleRow.createCell(13).setCellValue("已摊销天数");
|
||||
titleRow.createCell(14).setCellValue("当月摊销天数");
|
||||
titleRow.createCell(15).setCellValue("未摊销天数");
|
||||
titleRow.createCell(16).setCellValue("已摊销金额");
|
||||
titleRow.createCell(17).setCellValue("当月摊销金额");
|
||||
titleRow.createCell(18).setCellValue("剩余摊销金额");
|
||||
titleRow.createCell(7).setCellValue("支付宝号");
|
||||
titleRow.createCell(8).setCellValue("支付方式");
|
||||
titleRow.createCell(9).setCellValue("备注");
|
||||
titleRow.createCell(10).setCellValue("缴费金额");
|
||||
titleRow.createCell(11).setCellValue("摊销计算金额");
|
||||
titleRow.createCell(12).setCellValue("总天数");
|
||||
titleRow.createCell(13).setCellValue("每日摊销");
|
||||
titleRow.createCell(14).setCellValue("已摊销天数");
|
||||
titleRow.createCell(15).setCellValue("当月摊销天数");
|
||||
titleRow.createCell(16).setCellValue("未摊销天数");
|
||||
titleRow.createCell(17).setCellValue("已摊销金额");
|
||||
titleRow.createCell(18).setCellValue("当月摊销金额");
|
||||
titleRow.createCell(19).setCellValue("剩余摊销金额");
|
||||
//序号,默认为1
|
||||
int cell = 1;
|
||||
//遍历
|
||||
@@ -303,18 +310,19 @@ public class StatisticsController {
|
||||
row.createCell(4).setCellValue(map.get("endTime").toString());
|
||||
row.createCell(5).setCellValue(map.get("payTime").toString());
|
||||
row.createCell(6).setCellValue(map.get("orderSn").toString());
|
||||
row.createCell(7).setCellValue(map.get("payType").toString());
|
||||
row.createCell(8).setCellValue(map.get("remark").toString());
|
||||
row.createCell(9).setCellValue(map.get("price").toString());
|
||||
row.createCell(10).setCellValue(map.get("fee").toString());
|
||||
row.createCell(11).setCellValue(map.get("totalDays").toString());
|
||||
row.createCell(12).setCellValue(map.get("dayAmount").toString());
|
||||
row.createCell(13).setCellValue(map.get("alreadyDays").toString());
|
||||
row.createCell(14).setCellValue(map.get("currentDays").toString());
|
||||
row.createCell(15).setCellValue(map.get("notyetDays").toString());
|
||||
row.createCell(16).setCellValue(map.get("alreadyTanxiao").toString());
|
||||
row.createCell(17).setCellValue(map.get("currentTanxiao").toString());
|
||||
row.createCell(18).setCellValue(map.get("notyetTanxiao").toString());
|
||||
row.createCell(7).setCellValue(map.get("zfbOrder")==null?"":map.get("zfbOrder").toString());
|
||||
row.createCell(8).setCellValue(map.get("payType").toString());
|
||||
row.createCell(9).setCellValue(map.get("remark").toString());
|
||||
row.createCell(10).setCellValue(map.get("price").toString());
|
||||
row.createCell(11).setCellValue(map.get("fee").toString());
|
||||
row.createCell(12).setCellValue(map.get("totalDays").toString());
|
||||
row.createCell(13).setCellValue(map.get("dayAmount").toString());
|
||||
row.createCell(14).setCellValue(map.get("alreadyDays").toString());
|
||||
row.createCell(15).setCellValue(map.get("currentDays").toString());
|
||||
row.createCell(16).setCellValue(map.get("notyetDays").toString());
|
||||
row.createCell(17).setCellValue(map.get("alreadyTanxiao").toString());
|
||||
row.createCell(18).setCellValue(map.get("currentTanxiao").toString());
|
||||
row.createCell(19).setCellValue(map.get("notyetTanxiao").toString());
|
||||
//序号自增
|
||||
cell++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user