Commit cc930ff8 authored by 吴春's avatar 吴春

提交代码

parent 628a9cec
...@@ -65,11 +65,11 @@ namespace Property.Repository ...@@ -65,11 +65,11 @@ namespace Property.Repository
if (dmodel.StartDate.HasValue) if (dmodel.StartDate.HasValue)
{ {
where += $" and " + nameof(RB_Supplies_Check_Extend.StartDate) + "<='" + dmodel.StartDate+"' "; where += $" and " + nameof(RB_Supplies_Check_Extend.StartDate) + "<='" + dmodel.StartDate.Value.ToString("yyyy-MM-dd HH:mm:ss")+"' ";
} }
if (dmodel.EndDate.HasValue) if (dmodel.EndDate.HasValue)
{ {
where += $" and " + nameof(RB_Supplies_Check_Extend.EndDate) + ">='" + dmodel.EndDate + "' "; where += $" and " + nameof(RB_Supplies_Check_Extend.EndDate) + ">='" + dmodel.EndDate.Value.ToString("yyyy-MM-dd HH:mm:ss") + "' ";
} }
if (!string.IsNullOrWhiteSpace(dmodel.Periods)) if (!string.IsNullOrWhiteSpace(dmodel.Periods))
......
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