Commit 6042d149 by guanzhenshan

应收账款,借还金额改为只取百伦主体的

parent 1553bea0
...@@ -1577,7 +1577,8 @@ namespace Bailun.DC.Services ...@@ -1577,7 +1577,8 @@ namespace Bailun.DC.Services
/// <returns></returns> /// <returns></returns>
public List<dc_daily_fee> ListBorrowAmount(BtTableParameter request, DateTime date, int? companyvalue, ref int total) public List<dc_daily_fee> ListBorrowAmount(BtTableParameter request, DateTime date, int? companyvalue, ref int total)
{ {
var sql = "select * from dc_daily_fee where cost_status>-1 and recoed_time='"+date.ToString("yyyy-MM-dd")+"'"; //只取百伦主体的
var sql = "select * from dc_daily_fee where company_value in (53,3,5,60,66,59,50,8,1,61,2,70) and cost_status>-1 and recoed_time='" + date.ToString("yyyy-MM-dd")+"'";
if (companyvalue.HasValue && companyvalue.Value>0) if (companyvalue.HasValue && companyvalue.Value>0)
{ {
......
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