Commit d8ce75c2 by 杨林龙

查询的时候增加返回组织Id

1 parent b638f125
......@@ -1288,6 +1288,7 @@ public class VehicleService {
VehicleInfoVo vehicleInfoVo = new VehicleInfoVo();
BeanUtils.copyProperties(vehicle, vehicleInfoVo);
// 设置组织ID 其实是用户ID
vehicleInfoVo.setOrganizationId("u" + vehicle.getCreatedBy());
User user = userApiService.getUserById(vehicle.getCreatedBy());
if (user != null) {
vehicleInfoVo.setOrganizationName(user.getUsername());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!