|
|
@ -230,18 +230,19 @@ public class CommonMgr
|
|
|
|
inBinInfo.Soe = -1;
|
|
|
|
inBinInfo.Soe = -1;
|
|
|
|
inBinInfo.BatteryNo = "-1";
|
|
|
|
inBinInfo.BatteryNo = "-1";
|
|
|
|
//修改入仓顺序
|
|
|
|
//修改入仓顺序
|
|
|
|
BinInfo binInfo = _binInfoRepository.QueryListByClause(i=>i.BatteryEnterSeq!=null,"battery_enter_seq desc").First();
|
|
|
|
BinInfo binInfo = _binInfoRepository
|
|
|
|
|
|
|
|
.QueryListByClause(i => i.BatteryEnterSeq != null, "battery_enter_seq desc").First();
|
|
|
|
inBinInfo.BatteryEnterSeq = binInfo.BatteryEnterSeq + 1;
|
|
|
|
inBinInfo.BatteryEnterSeq = binInfo.BatteryEnterSeq + 1;
|
|
|
|
|
|
|
|
inBinInfo.InTime = DateTime.Now;
|
|
|
|
_binInfoRepository.Update(inBinInfo);
|
|
|
|
_binInfoRepository.Update(inBinInfo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var upBinInfo = machineSwapOrderBatteryInfo.UpBinInfo;
|
|
|
|
var upBinInfo = machineSwapOrderBatteryInfo.UpBinInfo;
|
|
|
|
upBinInfo.Soc = -1;
|
|
|
|
upBinInfo.Soc = -1;
|
|
|
|
upBinInfo.Soe = -1;
|
|
|
|
upBinInfo.Soe = -1;
|
|
|
|
upBinInfo.BatteryNo = "-1";
|
|
|
|
upBinInfo.BatteryNo = "-1";
|
|
|
|
_binInfoRepository.Update(upBinInfo);
|
|
|
|
_binInfoRepository.Update(upBinInfo);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -260,5 +261,4 @@ public class CommonMgr
|
|
|
|
Vin = machineSwapOrder.VehicleVin
|
|
|
|
Vin = machineSwapOrder.VehicleVin
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|