fix-修复切换计划bug

dev
liuwf 2 weeks ago
parent e0de4b68df
commit 9f9eacc481

@ -68,7 +68,7 @@ namespace SlnMesnac.Repository.service.Impl
{ {
try try
{ {
return base._rep.GetFirst(x => x.PlanCode == planCode && x.StationId == _appConfig.stationId); return base._rep.GetFirst(x => x.PlanCode == planCode);
} }
catch (Exception ex) catch (Exception ex)
{ {

@ -374,6 +374,7 @@ namespace SlnMesnac.WPF.ViewModel
{ {
hasPlan.PlanStatus = PlanStatusEnum.; hasPlan.PlanStatus = PlanStatusEnum.;
_prodMgmtBusiness.UpdateProdPlan(hasPlan); _prodMgmtBusiness.UpdateProdPlan(hasPlan);
} }
else else
{ {

Loading…
Cancel
Save