@@ -9,8 +9,8 @@ import java.util.List; | |||
public interface AccountInfoRepo extends AbstractJpaRepo<AccountInfo, String> { | |||
// @Query("FROM AccountInfo WHERE account=?1") | |||
// AccountInfo findByAccount(String account); | |||
@Query("FROM AccountInfo WHERE account=?1") | |||
AccountInfo findByAccount(String account); | |||
@Query("FROM AccountInfo WHERE openId=?1") | |||
AccountInfo findByOpenId(String openId); |