package com.YuyeTech.HeartRate.game.TP_WxInfo.repository;

import com.YuyeTech.HeartRate.common.repository.CommonRepository;
import com.YuyeTech.HeartRate.game.TP_WxInfo.projo.WxInfo;

import java.util.Optional;

/**
 * @author:slambb
 * @date:2019/12/13
 */
//  extends JpaRepository<WxInfo,String>
public interface WxInfoRepository extends CommonRepository<WxInfo,String> {

   Optional<WxInfo>  findByOpenid(String openid);

   Optional<WxInfo>  findByUnionid(String unionid);
}
