Commit 891cb5b6 authored by liudong1993's avatar liudong1993

1

parent 9a8b6f8b
...@@ -230,11 +230,11 @@ namespace Edu.Repository.Course ...@@ -230,11 +230,11 @@ namespace Edu.Repository.Course
} }
if (!string.IsNullOrEmpty(demodel.StartTime)) if (!string.IsNullOrEmpty(demodel.StartTime))
{ {
where += $@" AND o.CreateTime >={demodel.StartTime}"; where += $@" AND o.CreateTime >='{demodel.StartTime}'";
} }
if (!string.IsNullOrEmpty(demodel.EndTime)) if (!string.IsNullOrEmpty(demodel.EndTime))
{ {
where += $@" AND o.CreateTime <={demodel.EndTime} 23:59:59"; where += $@" AND o.CreateTime <='{demodel.EndTime} 23:59:59'";
} }
string sql = $@" SELECT c.*,c1.ClassName,ca.AdjustPrice FROM RB_Education_Contract c string sql = $@" SELECT c.*,c1.ClassName,ca.AdjustPrice FROM RB_Education_Contract c
......
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