Commit 2f2e64c6 by 杨林龙

设置修改用户为修改车辆信息的人

1 parent 08f80715
......@@ -1293,7 +1293,7 @@ public class VehicleService {
}
vehicle.setUpdatedDate(new Date());
vehicle.setUpdatedBy(ShieldContextHolder.getUserId());
vehicleMapper.updateByPrimaryKey(vehicle);
vehicleMapper.updateByPrimaryKeySelective(vehicle);
// 绑定设备
List<DeviceInfoDto> deviceInfoDtos = vehicleInfoVo.getDeviceInfoDtos();
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!