Commit 5e54cb9f authored by 吴春's avatar 吴春

提交代码

parent d80af1f4
...@@ -289,7 +289,7 @@ where {where} order by di.CreateDate desc"; ...@@ -289,7 +289,7 @@ where {where} order by di.CreateDate desc";
} }
if (dmodel.IsSelectOverTime > 0) if (dmodel.IsSelectOverTime > 0)
{ {
where += $@" and DATE_FORMAT( di.{nameof(RB_Distributor_Info.VipExpiryDate)},'%y-%m-%d')<=DATE_FORMAT( '{DateTime.Now.AddDays(-1)}','%y-%m-%d')"; where += $@" and DATE_FORMAT( di.{nameof(RB_Distributor_Info.VipExpiryDate)},'%y-%m-%d')<=DATE_FORMAT( '{DateTime.Now.AddDays(1)}','%y-%m-%d')";
} }
string sql = $@"select di.* from RB_Distributor_Info di where {where} order by di.CreateDate desc"; string sql = $@"select di.* from RB_Distributor_Info di where {where} order by di.CreateDate desc";
return Get<RB_Distributor_Info_Extend>(sql).ToList(); return Get<RB_Distributor_Info_Extend>(sql).ToList();
......
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