Commit c016b057 by 黄小葱

修复bug

1 parent 3a5942d9
...@@ -167,6 +167,7 @@ public class VehicleService { ...@@ -167,6 +167,7 @@ public class VehicleService {
Long shopNameId = driveVehicleoBo.getShopNameId(); Long shopNameId = driveVehicleoBo.getShopNameId();
if (shopNameId != null && shopNameId != 0L) { if (shopNameId != null && shopNameId != 0L) {
vehicle.setUpdatedBy(shopNameId); vehicle.setUpdatedBy(shopNameId);
vehicle.setCreatedBy(shopNameId);
} }
vehicle.setUpdatedDate(new Date()); vehicle.setUpdatedDate(new Date());
vehicleMapper.updateByPrimaryKeySelective(vehicle); vehicleMapper.updateByPrimaryKeySelective(vehicle);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!