Commit d021d1ac authored by unset's avatar unset

Merge branch 'master-chw-bug' into dev-chw

parents 222e30c3 b63ac13d
...@@ -238,6 +238,10 @@ public class VehicleActiveService { ...@@ -238,6 +238,10 @@ public class VehicleActiveService {
} }
//2019-11-22 16:30 还原还车时修改车辆停靠分公司需求 //2019-11-22 16:30 还原还车时修改车辆停靠分公司需求
vehicle.setParkBranchCompanyId(vehicleBookRecord.getRetCompany()); vehicle.setParkBranchCompanyId(vehicleBookRecord.getRetCompany());
//当所属门店和还车门店一致,修改经营门店为还车门店
if (vehicle.getSubordinateBranch().equals(vehicleBookRecord.getRetCompany())) {
vehicle.setManageCompanyId(vehicleBookRecord.getRetCompany());
}
vehicleMapper.updateByPrimaryKeySelective(vehicle); vehicleMapper.updateByPrimaryKeySelective(vehicle);
DateTime arrivalDate = new DateTime(vehicleBookRecord.getBookEndDate()); DateTime arrivalDate = new DateTime(vehicleBookRecord.getBookEndDate());
......
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