dep_deliver
杨威 7 months ago
parent bada3d32df
commit 731bed9ca9

@ -155,8 +155,8 @@ namespace Mesnac.Action.ChemicalWeighing.Su
dr[4] = x.Number; dr[4] = x.Number;
dr[5] = Convert.ToDateTime(x.CreateTime).ToString("yyyy-MM-dd hh:mm:ss"); dr[5] = Convert.ToDateTime(x.CreateTime).ToString("yyyy-MM-dd HH:mm:ss");
dr[6] = Convert.ToDateTime(x.UpdateTime).ToString("yyyy-MM-dd hh:mm:ss"); dr[6] = Convert.ToDateTime(x.UpdateTime).ToString("yyyy-MM-dd HH:mm:ss");
dr[7] = x.Remark; dr[7] = x.Remark;
@ -171,12 +171,12 @@ namespace Mesnac.Action.ChemicalWeighing.Su
private string GetA() private string GetA()
{ {
return Convert.ToDateTime(startDate.MCValue).ToString("yyyy-MM-dd") + " " + Convert.ToDateTime(startTime.MCValue).ToShortTimeString(); return Convert.ToDateTime(startDate.MCValue).ToString("yyyy-MM-dd") + " " + Convert.ToDateTime(startTime.MCValue).ToString("HH:mm:ss");
} }
private string GetB() private string GetB()
{ {
return Convert.ToDateTime(endDate.MCValue).AddHours(0).ToString("yyyy-MM-dd") + " " + Convert.ToDateTime(endTime.MCValue).ToShortTimeString(); return Convert.ToDateTime(endDate.MCValue).AddHours(0).ToString("yyyy-MM-dd") + " " + Convert.ToDateTime(endTime.MCValue).ToString("HH:mm:ss");
} }
} }
} }

Loading…
Cancel
Save