@@ -91,4 +92,28 @@ public interface AuctionVehicleDao extends BaseRepository<AuctionVehicle, Intege
...
@@ -91,4 +92,28 @@ public interface AuctionVehicleDao extends BaseRepository<AuctionVehicle, Intege
@Modifying
@Modifying
@Query("update AuctionVehicle av set av.accountCount = (select count(distinct vb.account) from Bid vb where vb.auctionVehicle = av) where av.auctionState = ?1")
@Query("update AuctionVehicle av set av.accountCount = (select count(distinct vb.account) from Bid vb where vb.auctionVehicle = av) where av.auctionState = ?1")