Commit c1603eb8 by guanzhenshan

解决付现流水没有包含差额单的问题

parent 4ef52cf4
...@@ -779,7 +779,7 @@ namespace Bailun.DC.Services ...@@ -779,7 +779,7 @@ namespace Bailun.DC.Services
var sqlparam = new DynamicParameters(); var sqlparam = new DynamicParameters();
var list = new List<Models.dc_base_finance_fee>(); var list = new List<Models.dc_base_finance_fee>();
var sql = $"select * from dc_base_finance_fee where cost_status=4 and (is_lend is null or is_lend=1 or (is_lend=2 and lend_balance>0)) and pay_time>='{start.ToString("yyyy-MM-dd")}' and pay_time<'{end.AddDays(1).ToString("yyyy-MM-dd")}'"; var sql = $"select * from dc_base_finance_fee where cost_status=4 and (is_lend is null or is_lend=1 or (is_lend=2 and lend_balance>0) or (is_lend=2 and cost_form=1)) and pay_time>='{start.ToString("yyyy-MM-dd")}' and pay_time<'{end.AddDays(1).ToString("yyyy-MM-dd")}'";
if (!string.IsNullOrEmpty(feesupertype)) if (!string.IsNullOrEmpty(feesupertype))
{ {
......
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