This commit is contained in:
李超 2025-07-28 10:41:25 +08:00
commit 221f27f8ff
2 changed files with 3 additions and 4 deletions

View File

@ -660,7 +660,7 @@
/// <returns></returns>
public static ListItem[] OrderTimeList()
{
ListItem[] lis = new ListItem[15];
ListItem[] lis = new ListItem[14];
//DateTime dd = Convert.ToDateTime("7:00").AddDays(1);
DateTime? dd = null;
for (int i = 0; i < 14; i++)

View File

@ -398,8 +398,8 @@ namespace FineUIPro.Web.WeldMat.UsingPlan
if (ds.Tables[0].Rows[i]["时间段"] != null && !string.IsNullOrEmpty(ds.Tables[0].Rows[i]["时间段"].ToString()))
{
string strTime = ds.Tables[0].Rows[i]["时间段"].ToString();
if (BLL.DropListService.OrderTimeList().Any(x => x.Value == strTime))
var t = BLL.DropListService.OrderTimeList().FirstOrDefault(x => x.Value == strTime);
if (t != null)
{
usingPlan.OrderTime = strTime;
}
@ -407,7 +407,6 @@ namespace FineUIPro.Web.WeldMat.UsingPlan
{
errorInfos += (i + 2) + "行, [时间段] 录入不正确</br>";
}
}
else
{