|
|
@@ -20,6 +20,8 @@ public interface RaexSnapshotRepo extends JpaRepository<RaexSnapshot, Long>, Jpa
|
|
|
"from user " +
|
|
|
" inner join asset on user.id = asset.user_id " +
|
|
|
"where asset.name like ?1 " +
|
|
|
+ " and asset.company_id = 1" +
|
|
|
+ " and asset.category = '收藏品'" +
|
|
|
" and ((asset.created_at < ?2 " +
|
|
|
" and asset.status in ('NORMAL', 'TRADING', 'GIFTING', 'MINTING', 'AUCTIONING')) " +
|
|
|
" or (" +
|