소스 검색

登陆修改

lyr 8 년 전
부모
커밋
4c3560edc6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      patient-co-wlyy/src/main/java/com/yihu/wlyy/repository/security/TokenDao.java

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/repository/security/TokenDao.java

@ -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);
}