|
|
@ -75,6 +75,11 @@ public class SwapOrderController : ControllerBase
|
|
|
|
// 给换电订单赋值车的公司和部门
|
|
|
|
// 给换电订单赋值车的公司和部门
|
|
|
|
foreach (var swapOrder in list)
|
|
|
|
foreach (var swapOrder in list)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (swapOrder.SwapResult == 2)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
swapOrder.ManualStep = swapOrder.Remark;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var matchingVehicle = vehicleList.FirstOrDefault(v => v.VehicleNo == swapOrder.VehicleNo);
|
|
|
|
var matchingVehicle = vehicleList.FirstOrDefault(v => v.VehicleNo == swapOrder.VehicleNo);
|
|
|
|
|
|
|
|
|
|
|
|
if (matchingVehicle != null)
|
|
|
|
if (matchingVehicle != null)
|
|
|
|