|
|
@@ -99,7 +99,7 @@ public interface UserRepo extends JpaRepository<User, Long>, JpaSpecificationExe
|
|
|
@Query(value = "update asset join user on asset.minter_id = user.id " +
|
|
|
"set asset.minter = user.nickname, " +
|
|
|
" asset.minter_avatar = user.avatar " +
|
|
|
- "where user.id = ?1;", nativeQuery = true)
|
|
|
+ "where user.id = ?1 ", nativeQuery = true)
|
|
|
@Modifying
|
|
|
@Transactional
|
|
|
void updateAssetMinter(Long userId);
|
|
|
@@ -107,7 +107,7 @@ public interface UserRepo extends JpaRepository<User, Long>, JpaSpecificationExe
|
|
|
@Query(value = "update asset join user on asset.owner_id = user.id " +
|
|
|
"set asset.owner = user.nickname, " +
|
|
|
" asset.owner_avatar = user.avatar " +
|
|
|
- "where user.id = ?1;", nativeQuery = true)
|
|
|
+ "where user.id = ?1 ", nativeQuery = true)
|
|
|
@Modifying
|
|
|
@Transactional
|
|
|
void updateAssetOwner(Long userId);
|
|
|
@@ -115,7 +115,7 @@ public interface UserRepo extends JpaRepository<User, Long>, JpaSpecificationExe
|
|
|
@Query(value = "update collection_info join user on collection_info.minter_id = user.id " +
|
|
|
"set collection_info.minter = user.nickname, " +
|
|
|
" collection_info.minter_avatar = user.avatar " +
|
|
|
- "where user.id = ?1;", nativeQuery = true)
|
|
|
+ "where user.id = ?1 ", nativeQuery = true)
|
|
|
@Modifying
|
|
|
@Transactional
|
|
|
void updateCollectionMinter(Long userId);
|
|
|
@@ -123,7 +123,7 @@ public interface UserRepo extends JpaRepository<User, Long>, JpaSpecificationExe
|
|
|
@Query(value = "update collection_info join user on collection_info.owner_id = user.id " +
|
|
|
"set collection_info.owner = user.nickname, " +
|
|
|
" collection_info.owner_avatar = user.avatar " +
|
|
|
- "where user.id = ?1;", nativeQuery = true)
|
|
|
+ "where user.id = ?1 ", nativeQuery = true)
|
|
|
@Modifying
|
|
|
@Transactional
|
|
|
void updateCollectionOwner(Long userId);
|
|
|
@@ -131,7 +131,7 @@ public interface UserRepo extends JpaRepository<User, Long>, JpaSpecificationExe
|
|
|
@Query(value = "update order_info join user on order_info.minter_id = user.id " +
|
|
|
"set order_info.minter = user.nickname, " +
|
|
|
" order_info.minter_avatar = user.avatar " +
|
|
|
- "where user.id = ?1;", nativeQuery = true)
|
|
|
+ "where user.id = ?1 ", nativeQuery = true)
|
|
|
@Modifying
|
|
|
@Transactional
|
|
|
void updateOrderMinter(Long userId);
|