Selaa lähdekoodia

Merge branch 'dev' of lyr/patient-co-management into dev

lyr 8 vuotta sitten
vanhempi
commit
ee6fab0c57

+ 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'")
	@Query("delete Token a where a.user = ?1 and a.platform = 3 and a.del = '1'")
	int deleteWxTokenByPatient(String patient);
	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);
	Page<Token> findByOpenid(String openid, Pageable pageable);
}
}