change - 湿混时间统计日期统计问题

wangsr
wangsr 1 year ago
parent ce5cc9974b
commit 7d43083004

@ -88,8 +88,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjReport
{
dt.Rows.Clear();
DateTime time = mCDateTimePicker.Value;
DateTime start = time.AddHours(0);
DateTime end = time.AddHours(24);
DateTime start = time.Date.AddHours(0);
DateTime end = time.Date.AddHours(24);
list = FreeSqlUnit.Instance.Select<Lj_RGVTimeRecord>().Where(x => x.MixReadyStartTime >= start && x.RGVLeaveTime <= end).ToList();
DataTableSum();

Loading…
Cancel
Save