|
|
@ -93,12 +93,9 @@ namespace Mesnac.Action.ChemicalWeighing.LjReport.DayWhiteEmbryo
|
|
|
|
private void SelectButton_Click(object sender, EventArgs e)
|
|
|
|
private void SelectButton_Click(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
dt.Rows.Clear();
|
|
|
|
dt.Rows.Clear();
|
|
|
|
DateTime starttime = startDate.Value.Date.AddHours(startTime.Value.Hour);
|
|
|
|
DateTime starttime = startDate.Value.Date.AddHours(startTime.Value.Hour).AddMinutes(startTime.Value.Minute).AddSeconds(startTime.Value.Second);
|
|
|
|
starttime.AddMinutes(startTime.Value.Minute);
|
|
|
|
DateTime endtime = endDate.Value.Date.AddHours(endTime.Value.Hour).AddMinutes(endTime.Value.Minute).AddSeconds(endTime.Value.Second);
|
|
|
|
starttime.AddSeconds(startTime.Value.Second);
|
|
|
|
|
|
|
|
DateTime endtime = endDate.Value.Date.AddHours(endTime.Value.Hour);
|
|
|
|
|
|
|
|
endtime.AddMinutes(endTime.Value.Minute);
|
|
|
|
|
|
|
|
endtime.AddSeconds(endTime.Value.Second);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
list = FreeSqlUnit.Instance.Select<DayWhiteEmbryoEntity>().Where(x => (x.CreateTime >= starttime && x.CreateTime <= endtime)).ToList();
|
|
|
|
list = FreeSqlUnit.Instance.Select<DayWhiteEmbryoEntity>().Where(x => (x.CreateTime >= starttime && x.CreateTime <= endtime)).ToList();
|
|
|
|
|
|
|
|
|
|
|
|