|
|
@ -28,7 +28,6 @@ package com.yxt.supervise.portal.biz.gdsales; |
|
|
|
import cn.hutool.core.bean.BeanUtil; |
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
import cn.hutool.core.io.FileUtil; |
|
|
|
import cn.hutool.core.util.NumberUtil; |
|
|
|
import cn.hutool.core.util.StrUtil; |
|
|
|
import cn.hutool.poi.excel.ExcelUtil; |
|
|
|
import cn.hutool.poi.excel.ExcelWriter; |
|
|
@ -164,6 +163,7 @@ public class GdSalesService extends ServiceImpl<GdSalesMapper, GdSales> { |
|
|
|
odate = dataDate; |
|
|
|
GdSalesGd gd = rowToEntity(r); |
|
|
|
toInsertListGd.add(gd); |
|
|
|
// 监管商品销售数据
|
|
|
|
if (gdRescategoryProdService.containsCode(prodCode) && storeIndexService.containsCodeWithOneNoJmd(storeCode)) { |
|
|
|
GdSales gw = new GdSales(); |
|
|
|
BeanUtil.copyProperties(gd, gw); |
|
|
@ -171,6 +171,7 @@ public class GdSalesService extends ServiceImpl<GdSalesMapper, GdSales> { |
|
|
|
y++; |
|
|
|
} |
|
|
|
|
|
|
|
// 烟草销售数据
|
|
|
|
if (checkYcProd(typeTwo) && storeInfoService.containsCodeOfYc(storeCode)) { |
|
|
|
GdSalesYc gyc = new GdSalesYc(); |
|
|
|
BeanUtil.copyProperties(gd, gyc); |
|
|
@ -220,7 +221,7 @@ public class GdSalesService extends ServiceImpl<GdSalesMapper, GdSales> { |
|
|
|
if (gdLog == null) |
|
|
|
return rb.setMsg("上传记录未找到"); |
|
|
|
String orderDate = gdLog.getOrderDate(); |
|
|
|
GdSalesReportday reportday = gdSalesReportdayService.clearAndInitByOrderDate(orderDate); |
|
|
|
GdSalesReportday reportday = gdSalesReportdayService.clearAndInitByOrderDate(orderDate); |
|
|
|
|
|
|
|
|
|
|
|
Date curDate = new Date(); |
|
|
@ -240,19 +241,110 @@ public class GdSalesService extends ServiceImpl<GdSalesMapper, GdSales> { |
|
|
|
|
|
|
|
// 销售汇总日报表
|
|
|
|
writer.setSheet(0); |
|
|
|
xshzrbb(writer,reportday); |
|
|
|
xshzrbb(writer, reportday); |
|
|
|
|
|
|
|
// 门店销售明细表
|
|
|
|
// writer.setSheet(1);
|
|
|
|
writer.setSheet(1); |
|
|
|
int storeCount = baseMapper.countStoreOnDay(orderDate); |
|
|
|
List<Map<String, Object>> list1 = baseMapper.listOfStoreOnDay(orderDate); |
|
|
|
// writer.writeCellValue(0, 1, "编号:mdxsmxb" + dfmt1);
|
|
|
|
writer.merge(1, 1, 0, 2, "编号:mdxsmxb" + dfmt1, false); |
|
|
|
writer.writeCellValue(3, 1, "渠道数量: " + storeCount); |
|
|
|
writer.writeCellValue(4, 1, " 上报时间:" + dfmt2); |
|
|
|
int size1 = list1.size(); |
|
|
|
int countRow1 = size1 + 3; |
|
|
|
double hj1 = 0; |
|
|
|
int xh = 0; |
|
|
|
for (int y = 3; y < countRow1; y++) { |
|
|
|
Map<String, Object> map = list1.get(y - 3); |
|
|
|
xh++; |
|
|
|
writer.writeCellValue(0, y, xh); |
|
|
|
// writer.writeCellValue(1, y, map.get("name"));
|
|
|
|
writer.merge(y, y, 1, 3, map.get("name"), false); |
|
|
|
writer.writeCellValue(4, y, map.get("amount")); |
|
|
|
hj1 = hj1 + ExcelTool.toDouble(map.get("amount")); |
|
|
|
} |
|
|
|
// writer.writeCellValue(1, countRow1, "合计");
|
|
|
|
writer.merge(countRow1, countRow1, 0, 3, "合计", false); |
|
|
|
writer.writeCellValue(4, countRow1, hj1); |
|
|
|
|
|
|
|
// 门店商品销售明细表
|
|
|
|
// writer.setSheet(2);
|
|
|
|
writer.setSheet(2); |
|
|
|
int productCount = baseMapper.countProductOnDay(orderDate); |
|
|
|
List<Map<String, Object>> list2 = baseMapper.listOfProductOnDay(orderDate); |
|
|
|
// writer.writeCellValue(0, 1, "编号:mdspxsmxb" + dfmt1);
|
|
|
|
writer.merge(1, 1, 0, 2, "编号:mdspxsmxb" + dfmt1, false); |
|
|
|
// writer.writeCellValue(3, 1, "商品数量: " + productCount);
|
|
|
|
writer.merge(1, 1, 3, 4, "商品数量: " + productCount, false); |
|
|
|
// writer.writeCellValue(4, 1, " 上报时间:" + dfmt2);
|
|
|
|
writer.merge(1, 1, 5, 7, "上报时间:" + dfmt2, false); |
|
|
|
int size2 = list2.size(); |
|
|
|
int countRow2 = size2 + 3; |
|
|
|
double hj2 = 0; |
|
|
|
for (int y = 3; y < countRow2; y++) { |
|
|
|
Map<String, Object> map = list2.get(y - 3); |
|
|
|
writer.writeCellValue(0, y, map.get("name")); |
|
|
|
writer.writeCellValue(1, y, map.get("orderType")); |
|
|
|
writer.writeCellValue(2, y, map.get("orderNo")); |
|
|
|
writer.writeCellValue(3, y, map.get("prodCode")); |
|
|
|
writer.writeCellValue(4, y, map.get("prodName")); |
|
|
|
writer.writeCellValue(5, y, Math.round(ExcelTool.toDouble( map.get("saleNum")))); |
|
|
|
writer.writeCellValue(6, y, map.get("salePrice")); |
|
|
|
writer.writeCellValue(7, y, map.get("amount")); |
|
|
|
hj2 = hj2 + ExcelTool.toDouble(map.get("amount")); |
|
|
|
} |
|
|
|
writer.merge(countRow2, countRow2, 0, 6, "合计", false); |
|
|
|
writer.writeCellValue(7, countRow2, hj2); |
|
|
|
|
|
|
|
// 烟草门店销售明细表
|
|
|
|
// writer.setSheet(3);
|
|
|
|
writer.setSheet(3); |
|
|
|
int storeCountyc = gdSalesYcService.countStoreOnDay(orderDate); |
|
|
|
List<Map<String, Object>> list1yc = gdSalesYcService.listOfStoreOnDay(orderDate); |
|
|
|
// writer.writeCellValue(0, 1, "编号:ycmdxsmxb" + dfmt1);
|
|
|
|
writer.merge(1, 1, 0, 2, "编号:ycmdxsmxb" + dfmt1, false); |
|
|
|
writer.writeCellValue(3, 1, "渠道数量: " + storeCountyc); |
|
|
|
writer.writeCellValue(4, 1, " 上报时间:" + dfmt2); |
|
|
|
int size1yc = list1yc.size(); |
|
|
|
int countRow1yc = size1yc + 3; |
|
|
|
double hj1yc = 0; |
|
|
|
xh = 0; |
|
|
|
for (int y = 3; y < countRow1yc; y++) { |
|
|
|
Map<String, Object> map = list1yc.get(y - 3); |
|
|
|
xh++; |
|
|
|
writer.writeCellValue(0, y, xh); |
|
|
|
// writer.writeCellValue(1, y, map.get("name"));
|
|
|
|
writer.merge(y, y, 1, 3, map.get("name"), false); |
|
|
|
writer.writeCellValue(4, y, map.get("amount")); |
|
|
|
hj1yc = hj1yc + ExcelTool.toDouble(map.get("amount")); |
|
|
|
} |
|
|
|
// writer.writeCellValue(1, countRow1yc, "合计");
|
|
|
|
writer.merge(countRow1yc, countRow1yc, 0, 3, "合计", false); |
|
|
|
writer.writeCellValue(4, countRow1yc, hj1yc); |
|
|
|
|
|
|
|
// 烟草门店商品销售明细表
|
|
|
|
// writer.setSheet(4);
|
|
|
|
writer.setSheet(4); |
|
|
|
int productCountyc = gdSalesYcService.countProductOnDay(orderDate); |
|
|
|
List<Map<String, Object>> list2yc = gdSalesYcService.listOfProductOnDay(orderDate); |
|
|
|
writer.merge(1, 1, 0, 2, "编号:ycmdspxsmxb" + dfmt1, false); |
|
|
|
writer.merge(1, 1, 3, 4, "商品数量: " + productCountyc, false); |
|
|
|
writer.merge(1, 1, 5, 7, "上报时间:" + dfmt2, false); |
|
|
|
int size2yc = list2yc.size(); |
|
|
|
int countRow2yc = size2yc + 3; |
|
|
|
double hj2yc = 0; |
|
|
|
for (int y = 3; y < countRow2yc; y++) { |
|
|
|
Map<String, Object> map = list2yc.get(y - 3); |
|
|
|
writer.writeCellValue(0, y, map.get("name")); |
|
|
|
writer.writeCellValue(1, y, map.get("orderType")); |
|
|
|
writer.writeCellValue(2, y, map.get("orderNo")); |
|
|
|
writer.writeCellValue(3, y, map.get("prodCode")); |
|
|
|
writer.writeCellValue(4, y, map.get("prodName")); |
|
|
|
writer.writeCellValue(5, y, Math.round(ExcelTool.toDouble( map.get("saleNum")))); |
|
|
|
writer.writeCellValue(6, y, map.get("salePrice")); |
|
|
|
writer.writeCellValue(7, y, map.get("amount")); |
|
|
|
hj2yc = hj2yc + ExcelTool.toDouble(map.get("amount")); |
|
|
|
} |
|
|
|
writer.merge(countRow2yc, countRow2yc, 0, 6, "合计", false); |
|
|
|
writer.writeCellValue(7, countRow2yc, hj2yc); |
|
|
|
|
|
|
|
writer.flush(); |
|
|
|
writer.close(); |
|
|
@ -267,70 +359,78 @@ public class GdSalesService extends ServiceImpl<GdSalesMapper, GdSales> { |
|
|
|
private void xshzrbb(ExcelWriter writer, GdSalesReportday reportday) { |
|
|
|
writer.writeCellValue(0, 1, "编号:" + reportday.getSerialNumber()); |
|
|
|
writer.writeCellValue(2, 1, "上报时间:" + reportday.getReportTime()); |
|
|
|
writer.writeCellValue(1, 3,reportday.getKmdatea()); // 科目/日,大前天
|
|
|
|
writer.writeCellValue(2, 3,reportday.getKmdateb()); // 科目/日,前天
|
|
|
|
writer.writeCellValue(3, 3,reportday.getKmdatec()); // 科目/日,昨天
|
|
|
|
writer.writeCellValue(1, 4,reportday.getXjlla()); // 现金流量-经营活动产生的现金流量(元),大前天
|
|
|
|
writer.writeCellValue(2, 4,reportday.getXjllb()); // 现金流量-经营活动产生的现金流量(元),前天
|
|
|
|
writer.writeCellValue(3, 4,reportday.getXjllc()); // 现金流量-经营活动产生的现金流量(元),昨天
|
|
|
|
writer.writeCellValue(1, 5,reportday.getXsxja()); // 销售商品收到的现金(元),大前天
|
|
|
|
writer.writeCellValue(2, 5,reportday.getXsxjb()); // 销售商品收到的现金(元),前天
|
|
|
|
writer.writeCellValue(3, 5,reportday.getXsxjc()); // 销售商品收到的现金(元),昨天
|
|
|
|
writer.writeCellValue(1, 6,reportday.getQtxja()); // 收到其他与经营活动有关的现金(元),大前天
|
|
|
|
writer.writeCellValue(2, 6,reportday.getQtxjb()); // 收到其他与经营活动有关的现金(元),前天
|
|
|
|
writer.writeCellValue(3, 6,reportday.getQtxjc()); // 收到其他与经营活动有关的现金(元),昨天
|
|
|
|
writer.writeCellValue(1, 7,reportday.getCwfxhja()); // 财务分析本项合计,大前天
|
|
|
|
writer.writeCellValue(2, 7,reportday.getCwfxhjb()); // 财务分析本项合计,前天
|
|
|
|
writer.writeCellValue(3, 7,reportday.getCwfxhjc()); // 财务分析本项合计,昨天
|
|
|
|
writer.writeCellValue(1, 8,reportday.getZcfza()); // 资产负债-流动资产(元),大前天
|
|
|
|
writer.writeCellValue(2, 8,reportday.getZcfzb()); // 资产负债-流动资产(元),前天
|
|
|
|
writer.writeCellValue(3, 8,reportday.getZcfzc()); // 资产负债-流动资产(元),昨天
|
|
|
|
writer.writeCellValue(1, 9,reportday.getYszka()); // 应收账款(元),大前天
|
|
|
|
writer.writeCellValue(2, 9,reportday.getYszkb()); // 应收账款(元),前天
|
|
|
|
writer.writeCellValue(3, 9,reportday.getYszkc()); // 应收账款(元),昨天
|
|
|
|
writer.writeCellValue(1, 10,reportday.getLdfza()); // 流动负债(元),大前天
|
|
|
|
writer.writeCellValue(2, 10,reportday.getLdfzb()); // 流动负债(元),前天
|
|
|
|
writer.writeCellValue(3, 10,reportday.getLdfzc()); // 流动负债(元),昨天
|
|
|
|
writer.writeCellValue(1, 11,reportday.getYskxa()); // 预收款项(元),大前天
|
|
|
|
writer.writeCellValue(2, 11,reportday.getYskxb()); // 预收款项(元),前天
|
|
|
|
writer.writeCellValue(3, 11,reportday.getYskxc()); // 预收款项(元),昨天
|
|
|
|
writer.writeCellValue(1, 12,"期初总货值:"+reportday.getQczhz()); // 期初总货值
|
|
|
|
writer.writeCellValue(3, 12,"烟草期初货值:"+reportday.getYcqchz()); // 烟草期初货值
|
|
|
|
writer.writeCellValue(1, 13,reportday.getXmdatea()); // 项目/日,前天
|
|
|
|
writer.writeCellValue(2, 13,reportday.getXmdateb()); // 项目/日,昨天
|
|
|
|
writer.writeCellValue(3, 13,reportday.getXmdatec()); // 项目/日,今天
|
|
|
|
writer.writeCellValue(1, 14,reportday.getZthza()); // 在途货值(元),前天
|
|
|
|
writer.writeCellValue(2, 14,reportday.getZthzb()); // 在途货值(元),昨天
|
|
|
|
writer.writeCellValue(3, 14,reportday.getZthzc()); // 在途货值(元),今天
|
|
|
|
writer.writeCellValue(1, 15,reportday.getKchza()); // 库存货值(元),前天
|
|
|
|
writer.writeCellValue(2, 15,reportday.getKchzb()); // 库存货值(元),昨天
|
|
|
|
writer.writeCellValue(3, 15,reportday.getKchzc()); // 库存货值(元),今天
|
|
|
|
writer.writeCellValue(1, 16,reportday.getZhyea()); // 帐户余额(元)账户余额为前一天余额,前天
|
|
|
|
writer.writeCellValue(2, 16,reportday.getZhyeb()); // 帐户余额(元)账户余额为前一天余额,昨天
|
|
|
|
writer.writeCellValue(3, 16,reportday.getZhyec()); // 帐户余额(元)账户余额为前一天余额,今天
|
|
|
|
writer.writeCellValue(1, 17,reportday.getYjyszka()); // 预警应收帐款(元),前天
|
|
|
|
writer.writeCellValue(2, 17,reportday.getYjyszkb()); // 预警应收帐款(元),昨天
|
|
|
|
writer.writeCellValue(3, 17,reportday.getYjyszkc()); // 预警应收帐款(元),今天
|
|
|
|
writer.writeCellValue(1, 18,reportday.getYjhja()); // 主要预警指标本项合计,前天
|
|
|
|
writer.writeCellValue(2, 18,reportday.getYjhjb()); // 主要预警指标本项合计,昨天
|
|
|
|
writer.writeCellValue(3, 18,reportday.getYjhjc()); // 主要预警指标本项合计,今天
|
|
|
|
writer.writeCellValue(1, 21,reportday.getLwlsdze()); // 连网连锁店,总额(元)
|
|
|
|
writer.writeCellValue(2, 21,reportday.getLwlsdyszk()); // 连网连锁店,应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 21,reportday.getLwlsdkcje()); // 连网连锁店,扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 22,reportday.getLsnjmze()); // 连锁内加盟,总额(元)
|
|
|
|
writer.writeCellValue(2, 22,reportday.getLsnjmyszk()); // 连锁内加盟,应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 22,reportday.getLsnjmkcje()); // 连锁内加盟,扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 23,reportday.getPszxze()); // 配送中心,总额(元)
|
|
|
|
writer.writeCellValue(2, 23,reportday.getPszxyszk()); // 配送中心,应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 23,reportday.getPszxkcje()); // 配送中心,扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 24,reportday.getLswjmze()); // 连锁外加盟(销配结算),总额(元)
|
|
|
|
writer.writeCellValue(2, 24,reportday.getLswjmyszk()); // 连锁外加盟(销配结算),应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 24,reportday.getLswjmkcje()); // 连锁外加盟(销配结算),扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 25,reportday.getYcmdze()); // 36524集团报烟门店仓,总额(元)
|
|
|
|
writer.writeCellValue(2, 25,reportday.getYcmdyszk()); // 36524集团报烟门店仓,应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 25,reportday.getYcmdkcje()); // 36524集团报烟门店仓,扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 26,reportday.getYcjmdze()); // 烟草连锁外加盟(销配结算),总额(元)
|
|
|
|
writer.writeCellValue(2, 26,reportday.getYcjmdyszk()); // 烟草连锁外加盟(销配结算),应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 26,reportday.getYcjmdkcje()); // 烟草连锁外加盟(销配结算),扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 3, reportday.getKmdatea()); // 科目/日,大前天
|
|
|
|
writer.writeCellValue(2, 3, reportday.getKmdateb()); // 科目/日,前天
|
|
|
|
writer.writeCellValue(3, 3, reportday.getKmdatec()); // 科目/日,昨天
|
|
|
|
writer.writeCellValue(1, 4, reportday.getXjlla()); // 现金流量-经营活动产生的现金流量(元),大前天
|
|
|
|
writer.writeCellValue(2, 4, reportday.getXjllb()); // 现金流量-经营活动产生的现金流量(元),前天
|
|
|
|
writer.writeCellValue(3, 4, reportday.getXjllc()); // 现金流量-经营活动产生的现金流量(元),昨天
|
|
|
|
writer.writeCellValue(1, 5, reportday.getXsxja()); // 销售商品收到的现金(元),大前天
|
|
|
|
writer.writeCellValue(2, 5, reportday.getXsxjb()); // 销售商品收到的现金(元),前天
|
|
|
|
writer.writeCellValue(3, 5, reportday.getXsxjc()); // 销售商品收到的现金(元),昨天
|
|
|
|
writer.writeCellValue(1, 6, reportday.getQtxja()); // 收到其他与经营活动有关的现金(元),大前天
|
|
|
|
writer.writeCellValue(2, 6, reportday.getQtxjb()); // 收到其他与经营活动有关的现金(元),前天
|
|
|
|
writer.writeCellValue(3, 6, reportday.getQtxjc()); // 收到其他与经营活动有关的现金(元),昨天
|
|
|
|
writer.writeCellValue(1, 7, reportday.getCwfxhja()); // 财务分析本项合计,大前天
|
|
|
|
writer.writeCellValue(2, 7, reportday.getCwfxhjb()); // 财务分析本项合计,前天
|
|
|
|
writer.writeCellValue(3, 7, reportday.getCwfxhjc()); // 财务分析本项合计,昨天
|
|
|
|
writer.writeCellValue(1, 8, reportday.getZcfza()); // 资产负债-流动资产(元),大前天
|
|
|
|
writer.writeCellValue(2, 8, reportday.getZcfzb()); // 资产负债-流动资产(元),前天
|
|
|
|
writer.writeCellValue(3, 8, reportday.getZcfzc()); // 资产负债-流动资产(元),昨天
|
|
|
|
writer.writeCellValue(1, 9, reportday.getYszka()); // 应收账款(元),大前天
|
|
|
|
writer.writeCellValue(2, 9, reportday.getYszkb()); // 应收账款(元),前天
|
|
|
|
writer.writeCellValue(3, 9, reportday.getYszkc()); // 应收账款(元),昨天
|
|
|
|
writer.writeCellValue(1, 10, reportday.getLdfza()); // 流动负债(元),大前天
|
|
|
|
writer.writeCellValue(2, 10, reportday.getLdfzb()); // 流动负债(元),前天
|
|
|
|
writer.writeCellValue(3, 10, reportday.getLdfzc()); // 流动负债(元),昨天
|
|
|
|
writer.writeCellValue(1, 11, reportday.getYskxa()); // 预收款项(元),大前天
|
|
|
|
writer.writeCellValue(2, 11, reportday.getYskxb()); // 预收款项(元),前天
|
|
|
|
writer.writeCellValue(3, 11, reportday.getYskxc()); // 预收款项(元),昨天
|
|
|
|
writer.writeCellValue(1, 12, "期初总货值:" + reportday.getQczhz()); // 期初总货值
|
|
|
|
writer.writeCellValue(3, 12, "烟草期初货值:" + reportday.getYcqchz()); // 烟草期初货值
|
|
|
|
writer.writeCellValue(1, 13, reportday.getXmdatea()); // 项目/日,前天
|
|
|
|
writer.writeCellValue(2, 13, reportday.getXmdateb()); // 项目/日,昨天
|
|
|
|
writer.writeCellValue(3, 13, reportday.getXmdatec()); // 项目/日,今天
|
|
|
|
writer.writeCellValue(1, 14, reportday.getZthza()); // 在途货值(元),前天
|
|
|
|
writer.writeCellValue(2, 14, reportday.getZthzb()); // 在途货值(元),昨天
|
|
|
|
writer.writeCellValue(3, 14, reportday.getZthzc()); // 在途货值(元),今天
|
|
|
|
writer.writeCellValue(1, 15, reportday.getKchza()); // 库存货值(元),前天
|
|
|
|
writer.writeCellValue(2, 15, reportday.getKchzb()); // 库存货值(元),昨天
|
|
|
|
writer.writeCellValue(3, 15, reportday.getKchzc()); // 库存货值(元),今天
|
|
|
|
writer.writeCellValue(1, 16, reportday.getZhyea()); // 帐户余额(元)账户余额为前一天余额,前天
|
|
|
|
writer.writeCellValue(2, 16, reportday.getZhyeb()); // 帐户余额(元)账户余额为前一天余额,昨天
|
|
|
|
writer.writeCellValue(3, 16, reportday.getZhyec()); // 帐户余额(元)账户余额为前一天余额,今天
|
|
|
|
writer.writeCellValue(1, 17, reportday.getYjyszka()); // 预警应收帐款(元),前天
|
|
|
|
writer.writeCellValue(2, 17, reportday.getYjyszkb()); // 预警应收帐款(元),昨天
|
|
|
|
writer.writeCellValue(3, 17, reportday.getYjyszkc()); // 预警应收帐款(元),今天
|
|
|
|
writer.writeCellValue(1, 18, reportday.getYjhja()); // 主要预警指标本项合计,前天
|
|
|
|
writer.writeCellValue(2, 18, reportday.getYjhjb()); // 主要预警指标本项合计,昨天
|
|
|
|
writer.writeCellValue(3, 18, reportday.getYjhjc()); // 主要预警指标本项合计,今天
|
|
|
|
writer.writeCellValue(1, 21, reportday.getLwlsdze()); // 连网连锁店,总额(元)
|
|
|
|
writer.writeCellValue(2, 21, reportday.getLwlsdyszk()); // 连网连锁店,应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 21, reportday.getLwlsdkcje()); // 连网连锁店,扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 22, reportday.getLsnjmze()); // 连锁内加盟,总额(元)
|
|
|
|
writer.writeCellValue(2, 22, reportday.getLsnjmyszk()); // 连锁内加盟,应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 22, reportday.getLsnjmkcje()); // 连锁内加盟,扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 23, reportday.getPszxze()); // 配送中心,总额(元)
|
|
|
|
writer.writeCellValue(2, 23, reportday.getPszxyszk()); // 配送中心,应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 23, reportday.getPszxkcje()); // 配送中心,扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 24, reportday.getLswjmze()); // 连锁外加盟(销配结算),总额(元)
|
|
|
|
writer.writeCellValue(2, 24, reportday.getLswjmyszk()); // 连锁外加盟(销配结算),应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 24, reportday.getLswjmkcje()); // 连锁外加盟(销配结算),扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 25, reportday.getYcmdze()); // 36524集团报烟门店仓,总额(元)
|
|
|
|
writer.writeCellValue(2, 25, reportday.getYcmdyszk()); // 36524集团报烟门店仓,应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 25, reportday.getYcmdkcje()); // 36524集团报烟门店仓,扣除应收金额(元)
|
|
|
|
writer.writeCellValue(1, 26, reportday.getYcjmdze()); // 烟草连锁外加盟(销配结算),总额(元)
|
|
|
|
writer.writeCellValue(2, 26, reportday.getYcjmdyszk()); // 烟草连锁外加盟(销配结算),应收帐款(元)
|
|
|
|
writer.writeCellValue(3, 26, reportday.getYcjmdkcje()); // 烟草连锁外加盟(销配结算),扣除应收金额(元)
|
|
|
|
} |
|
|
|
|
|
|
|
public double amountOfLwlsdDay(String orderDate) { |
|
|
|
return baseMapper.amountOfLsdOnDay(orderDate); |
|
|
|
} |
|
|
|
|
|
|
|
public double amountOfLsnjmDay(String orderDate) { |
|
|
|
return baseMapper.amountOfLsnjmOnDay(orderDate); |
|
|
|
} |
|
|
|
} |
|
|
|