|
@ -37,7 +37,7 @@ public interface TokenDao extends PagingAndSortingRepository<Token, Long> {
|
|
|
@Query("delete Token a where a.user = ?1 and a.platform = 3 and a.del = '1'")
|
|
|
int deleteWxTokenByPatient(String patient);
|
|
|
|
|
|
@Query("select a from Token a where a.imei = ?1 and a.platform = 3 and a.del = 1")
|
|
|
@Query("select a from Token a where a.imei = ?1 and a.platform = 3")
|
|
|
Page<Token> findByOpenid(String openid, Pageable pageable);
|
|
|
|
|
|
}
|