提交
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
<PackageReference Include="Lazy.Captcha.Core" Version="2.0.3" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.7" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||
<PackageReference Include="NPOI" Version="2.7.0" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore.Filters" Version="7.0.6" />
|
||||
<PackageReference Include="UAParser" Version="3.1.47" />
|
||||
|
||||
@@ -451,7 +451,7 @@ namespace ZR.Service.mes.wms
|
||||
string short_patch = item.Split("_")[0];
|
||||
WmOutOrderPlan plan_item = Context.Queryable<WmOutOrderPlan>()
|
||||
.Where(it => it.FkOutOrderId == shipnumber)
|
||||
.Where(it => it.Patchcode.Contains(short_patch)).First();
|
||||
.Where(it => it.Patchcode==short_patch).OrderBy(it => it.Outorder).First();
|
||||
if (plan_item != null)
|
||||
{
|
||||
var plan_earliest = Context.Queryable<WmOutOrderPlan>()
|
||||
@@ -465,7 +465,7 @@ namespace ZR.Service.mes.wms
|
||||
{
|
||||
return (100, 100);
|
||||
}
|
||||
if (plan_earliest.Id == plan_earliest.Id)
|
||||
if (plan_earliest.Id == plan_item.Id)
|
||||
{
|
||||
|
||||
// TODO 每次出库要出库计划累加
|
||||
|
||||
Reference in New Issue
Block a user