PatchBranchDao.java 508 Bytes
package com.brframework.webapppatch.dao;

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

/**
 * 热更新分支
 * @author xu
 * @date 2019/11/14 10:27
 */
@Repository
public interface PatchBranchDao extends CommonRepository<Long, PatchBranch> {

    /**
     * 通过分支名查找分支
     * @param branchName
     * @return
     */
    PatchBranch findByBranchName(String branchName);

}