Commit c9295244 by 陶然

优化

parent 6ec237e5
......@@ -335,15 +335,15 @@ namespace Kivii.Samples
foreach (var item in exists)
{
var currentRoute = item.GetCurrentRoute();
if (currentRoute != null)
{
//判断当前拆分地点和此样品所在地一致 要是不一致要先流转到此地
if (currentRoute.CurrentLocationKvid != location.Kvid)
{
item.Assign(location, null, conn);
currentRoute = item.GetCurrentRoute();
}
}
//if (currentRoute != null)
//{
// //判断当前拆分地点和此样品所在地一致 要是不一致要先流转到此地
// if (currentRoute.CurrentLocationKvid != location.Kvid)
// {
// item.Assign(location, null, conn);
// currentRoute = item.GetCurrentRoute();
// }
//}
//更新样品的包裹Kvid
item.PackageKvid = package.Kvid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment