Commit a7f3fdce by 杨林龙

新增车辆时增加修改组织功能

1 parent 8140fef0
......@@ -1307,6 +1307,9 @@ public class VehicleService {
vehicle.setTypeId(vehicleInfoVo.getModelId());
setVehicleType(vehicle);
String userId = vehicleInfoVo.getOrganizationId().replaceAll("u", "");
vehicle.setCreatedBy(Long.parseLong(userId));
vehicle.setCreatedDate(new Date());
vehicle.setUpdatedDate(new Date());
// 设置操作用户为修改人
vehicle.setUpdatedBy(ShieldContextHolder.getUserId());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!