mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-23 12:07:21 +08:00
【新增】订单导出excel数据增加商品名称+货品sku组合展示的方式。
This commit is contained in:
@@ -66,7 +66,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
private readonly ICoreCmsUserWeChatInfoServices _userWeChatInfoServices;
|
||||
private readonly IWeChatTransactionComponentDeliveryCompanyServices _tcDeliveryCompanyServices;
|
||||
private readonly IRedisOperationRepository _redisOperationRepository;
|
||||
private readonly Net.WeChat.Service.HttpClients.IWeChatApiHttpClientFactory _weChatApiHttpClientFactory;
|
||||
private readonly CoreCms.Net.WeChat.Service.HttpClients.IWeChatApiHttpClientFactory _weChatApiHttpClientFactory;
|
||||
|
||||
|
||||
private readonly ICoreCmsOrderItemServices _orderItemServices;
|
||||
@@ -300,6 +300,15 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
jm.data = list;
|
||||
jm.code = 0;
|
||||
jm.count = list.TotalCount;
|
||||
jm.otherData = new
|
||||
{
|
||||
list.HasNextPage,
|
||||
list.HasPreviousPage,
|
||||
list.PageIndex,
|
||||
list.PageSize,
|
||||
list.TotalCount,
|
||||
list.TotalPages
|
||||
};
|
||||
jm.msg = "数据调用成功!";
|
||||
return jm;
|
||||
}
|
||||
@@ -1021,7 +1030,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
rowTemp.CreateCell(10).SetCellValue(order.paymentTime.ToString());
|
||||
|
||||
|
||||
rowTemp.CreateCell(11).SetCellValue(!string.IsNullOrEmpty(t.addon) ? "【" + t.goodsId + "】" + t.addon : "【" + t.goodsId + "】" + t.name);
|
||||
rowTemp.CreateCell(11).SetCellValue(!string.IsNullOrEmpty(t.addon) ? t.name + "【" + t.goodsId + "】规格:" + t.addon : "【" + t.goodsId + "】" + t.name);
|
||||
rowTemp.CreateCell(12).SetCellValue(t.nums);
|
||||
rowTemp.CreateCell(13).SetCellValue(t.price + "元");
|
||||
rowTemp.CreateCell(14).SetCellValue(t.promotionAmount + "元");
|
||||
@@ -1426,7 +1435,7 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
rowTemp.CreateCell(10).SetCellValue(order.paymentTime.ToString());
|
||||
|
||||
|
||||
rowTemp.CreateCell(11).SetCellValue(!string.IsNullOrEmpty(t.addon) ? "【" + t.goodsId + "】" + t.addon : "【" + t.goodsId + "】" + t.name);
|
||||
rowTemp.CreateCell(11).SetCellValue(!string.IsNullOrEmpty(t.addon) ? t.name + "【" + t.goodsId + "】规格:" + t.addon : "【" + t.goodsId + "】" + t.name);
|
||||
rowTemp.CreateCell(12).SetCellValue(t.nums);
|
||||
rowTemp.CreateCell(13).SetCellValue(t.price + "元");
|
||||
rowTemp.CreateCell(14).SetCellValue(t.promotionAmount + "元");
|
||||
|
||||
Reference in New Issue
Block a user