|
|
@ -19,7 +19,11 @@ public interface ArtistInfoDao extends JpaRepository<ArtistInfo, String>, JpaSpe
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Query(value = " select t1.* from tb_artist_info t1 left join tb_user_process t2 on t1.user_id = t2.user_id \n" +
|
|
|
|
@Query(value = " select t1.* from tb_artist_info t1 left join tb_user_process t2 on t1.user_id = t2.user_id \n" +
|
|
|
|
" where t2.type = 1 and status = 0", countProjection = "t1.id", nativeQuery = true)
|
|
|
|
" where t2.type = 1 and t2.status = 0", countProjection = "t1.id", nativeQuery = true)
|
|
|
|
public Page<ArtistInfo> findListByCheckState(Pageable pageable);
|
|
|
|
public Page<ArtistInfo> findListByCheckState(Pageable pageable);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Query(value = " select t1.* from tb_artist_info t1 left join tb_user_process t2 on t1.user_id = t2.user_id \n" +
|
|
|
|
|
|
|
|
" where t2.type = 1 and t2.status = 1 order by t1.id desc", countProjection = "t1.id", nativeQuery = true)
|
|
|
|
|
|
|
|
public Page<ArtistInfo> findListApproveSuccess(Pageable pageable);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|