目录
1 Himall商城BillingApplication
1.1 分页获取店铺的收支明细
1.2 获取店铺的收支明细
1.3 统计待结算订单
1.4 统计待结算订单
1.5 分页获取平台的收支明细
public static QueryPageModel
{
var model = _iBillingService.GetShopAccountItem(query);
return new QueryPageModel
{
Total = model.Total,
Models = model.Models.Map>()
};
}
public static List
{
var models = _iBillingService.GetShopAccountItemNoPage(query);
return models.Map>();
}
public static QueryPageModel
{
return _iBillingService.StatisticsPendingSettlementOrders(query);
}
public static List
{
return _iBillingService.StatisticsPendingSettlementOrdersNoPage(query);
}
public static QueryPageModel
{
var model = _iBillingService.GetPlatAccountItem(query);
QueryPageModel
item.Total = model.Total;
List
foreach (var m in model.Models)
{
PlatAccountItem PlatAccountItem = new PlatAccountItem();
PlatAccountItem.AccountNo = m.AccountNo;
PlatAccountItem.Balance = m.Balance.ToString();
PlatAccountItem.CreateTime = m.CreateTime.ToString("yyyy-MM-dd HH:mm:ss");
PlatAccountItem.DetailId = m.DetailId;
PlatAccountItem.PlatAccountType = m.TradeType;
if (m.IsIncome)
{
PlatAccountItem.Income = m.Amount.ToString();
}
else
{
PlatAccountItem.Expenditure = m.Amount.ToString();
}
PlatAccountItem.Id = m.Id;
items.Add(PlatAccountItem);
}
item.Models = items;
return item;
}