Commit ffd573c5 authored by 吴春's avatar 吴春

提交代码

parent 6ffc380c
using Mall.Model.Entity.Property; using Mall.Common.Plugin;
using Mall.Model.Entity.Property;
using Mall.Model.Extend.Property; using Mall.Model.Extend.Property;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
...@@ -66,11 +67,11 @@ namespace Mall.Repository.Property ...@@ -66,11 +67,11 @@ namespace Mall.Repository.Property
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