package com.brframework.webapppatch.dao;

import com.brframework.commondb.core.CommonRepository;
import com.brframework.webapppatch.entity.PatchGrayUser;
import org.springframework.stereotype.Repository;

/**
 * 热更新用户
 * @author xu
 * @date 2019/11/14 10:27
 */
@Repository
public interface PatchGrayUserDao extends CommonRepository<Long, PatchGrayUser> {

    /**
     * 通过用户名查询灰度用户
     * @param username
     * @return
     */
    PatchGrayUser findByUsername(String username);

}
