|
|
@@ -17,7 +17,7 @@ public interface UserDetailRepo extends JpaRepository<UserDetail, Long>, JpaSpec
|
|
|
@Query("select count(a) from Asset a where a.userId = ?1 and a.status = 'NORMAL'")
|
|
|
Long findNftCountById(Long id);
|
|
|
|
|
|
- @Query("select count(a) from Asset a where a.userId = ?1 and a.status = 'NORMAL' and a.name like '%房产%' or a.name like '%建筑%'")
|
|
|
+ @Query("select count(a) from Asset a where a.userId = ?1 and a.status = 'NORMAL' and (a.name like '%房产%' or a.name like '%建筑%')")
|
|
|
Long findBuildCountById(Long id);
|
|
|
|
|
|
@Query("select count(a) from Asset a where a.userId = ?1 and a.status = 'NORMAL' and a.name like '%土地%'")
|