Commit a2cc1f5c authored by jiaorz's avatar jiaorz

123

parent f1394076
......@@ -172,10 +172,14 @@ public class VehicleActiveService {
}
List<VehicleBookRecordVo> vehicleBookRecordVos = vehicleBookRecordBiz.selectByVehicleId(vehicleId);
if(vehicleBookRecordVos != null && vehicleBookRecordVos.size() > 0) {
stringBuilder.append("中,使用人:");
stringBuilder.append(vehicleBookRecordVos.get(0).getVehicleUsername());
stringBuilder.append(" 使用人电话:");
stringBuilder.append(vehicleBookRecordVos.get(0).getVehicleUserPhone());
if(vehicleBookRecordVos.get(0).getVehicleDepartureLogVo() != null) {
stringBuilder.append("中,使用人:");
stringBuilder.append(vehicleBookRecordVos.get(0).getVehicleUsername());
stringBuilder.append(" 使用人电话:");
stringBuilder.append(vehicleBookRecordVos.get(0).getVehicleUserPhone());
} else { //没有出车记录
stringBuilder.append(" 请联系管理员修改车辆状态为正常运行!");
}
}
return stringBuilder.toString();
}
......
......@@ -75,8 +75,6 @@ public class VehicleController extends BaseController<VehicleBiz> implements Use
@Autowired
BranchCompanyBiz branchCompanyBiz;
@Autowired
VehicleBookHourInfoBiz vehicleBookHourInfoBiz;
public UserFeign getUserFeign() {
return userFeign;
......
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