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

import com.YuyeTech.HeartRate.common.repository.CommonRepository;
import com.YuyeTech.HeartRate.game.versionCode.projo.VersionCode;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

/**
 * @author:slambb
 * @date:2020/12/23
 */
public interface VersionCodeRepository extends CommonRepository<VersionCode,Integer>{

    Optional<VersionCode> findByCode(String Code);

    Optional<VersionCode> findByCodeAndShowConfigKey(String code,String showConfigKey);
}
