Commit b638f125 by 杨林龙

优化设备调频显示信息

1 parent 5a141baa
...@@ -1266,7 +1266,7 @@ public class VehicleService { ...@@ -1266,7 +1266,7 @@ public class VehicleService {
String userId = vehicleInfoVo.getOrganizationId().replaceAll("u", ""); String userId = vehicleInfoVo.getOrganizationId().replaceAll("u", "");
vehicle.setCreatedBy(Long.parseLong(userId)); vehicle.setCreatedBy(Long.parseLong(userId));
vehicle.setCreatedDate(new Date()); vehicle.setCreatedDate(new Date());
vehicle.setRemark("由" + ShieldContextHolder.getAccount() + "创建,时间:" + DateUtil.formatDate(new Date())); vehicle.setRemark(vehicle.getRemark() + ";由" + ShieldContextHolder.getAccount() + "创建,时间:" + DateUtil.formatDate(new Date()));
vehicleMapper.insert(vehicle); vehicleMapper.insert(vehicle);
List<DeviceInfoDto> deviceInfoDtos = vehicleInfoVo.getDeviceInfoDtos(); List<DeviceInfoDto> deviceInfoDtos = vehicleInfoVo.getDeviceInfoDtos();
for (DeviceInfoDto deviceInfoDto : deviceInfoDtos) { for (DeviceInfoDto deviceInfoDto : deviceInfoDtos) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!