This commit is contained in:
帅凯 贾
2023-04-19 17:01:53 +08:00
parent 70ebea6292
commit 7e11ca5d4d
3 changed files with 6 additions and 3 deletions

View File

@ -726,7 +726,10 @@ namespace Epost.BLL
DataTable noadddt = dal.GetAddressNolocation(data.Block, data.Area);
foreach (DataRow item in ifdt.Rows)
{
d = dal.UpOrderstolocation(item["shopid"].ToString(), noadddt.Rows[i]["location"].ToString(), scanStr);
if (noadddt.Rows.Count > i)
{
d = dal.UpOrderstolocation(item["shopid"].ToString(), noadddt.Rows[i]["location"].ToString(), scanStr);
}
i++;
}
if (d == true)