Commit 24d4214c by guanzhenshan

调整物流供应商往来报表

parent 3772ee57
......@@ -72,6 +72,8 @@ namespace Bailun.DC.DailyLogisticSupplierTransaction
cn.Open();
}
cn.Execute($"delete from dc_daily_logistics_supplier_transaction where day='{day.ToString("yyyy-MM-dd")}'");
//发生额
var sql = $"select t1.company_name,sum(t1.merchant_shipment_cost_cny) as merchant_shipment_cost_cny from dc_base_logistics t1 where ((t1.reconciliation_type='跟踪号对账' and t1.diff_state_type!=0) or (t1.reconciliation_type='单独费用')) and t1.merchant_reconciliation_time='{day.ToString("yyyy-MM-dd")}' group by t1.company_name";
listHappen = cn.Query<Models.dc_base_logistics>(sql).AsList();
......
......@@ -3,10 +3,13 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Bailun.DC.Models;
using Bailun.ServiceFabric.Authorize;
namespace Bailun.DC.Web.Areas.Reports.Controllers
{
public class LogisticsController : Controller
[Area("Reports")]
public class LogisticsController : Base.BaseController
{
public IActionResult Index()
{
......@@ -22,7 +25,12 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
return View();
}
[BailunAuthentication(LoginMode.Enforce)]
public string SupplierTrancationReportJson(BtTableParameter request,DateTime? start,DateTime? end,string suppliername)
{
return "";
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment