浏览代码

登陆修改

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