Commit 0c59f326 authored by hezhen's avatar hezhen

123

parent 0e1a8371
...@@ -61,6 +61,9 @@ public class VehicleManageApplyBiz extends BaseBiz<VehicleManageApplyMapper, Veh ...@@ -61,6 +61,9 @@ public class VehicleManageApplyBiz extends BaseBiz<VehicleManageApplyMapper, Veh
throw new BaseException("车辆信息不存在",ResultCode.FAILED_CODE); throw new BaseException("车辆信息不存在",ResultCode.FAILED_CODE);
} }
vehicleManageApply.setToApplyId(vehicle.getSubordinateBranch()); vehicleManageApply.setToApplyId(vehicle.getSubordinateBranch());
if (vehicleManageApply.getApplyId().equals(vehicleManageApply.getToApplyId())){
throw new BaseException("无申请权限",ResultCode.FAILED_CODE);
}
Integer type = vehicleManageApply.getType() == null ? 1 : vehicleManageApply.getType(); Integer type = vehicleManageApply.getType() == null ? 1 : vehicleManageApply.getType();
if (type == 2){ if (type == 2){
vehicleManageApply.setStatus(1); vehicleManageApply.setStatus(1);
......
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