Commit 3ba3981b by guanzhenshan

解决付现流水数据异常的问题

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