package com.yihu.jw.wechat.enterprise.dao;

import com.yihu.jw.entity.hospital.enterprise.WxEnterpriseUserDO;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * Created by Trick on 2020/2/9.
 */
public interface WxEnterpriseUserDao extends PagingAndSortingRepository<WxEnterpriseUserDO, String>, JpaSpecificationExecutor<WxEnterpriseUserDO> {

    WxEnterpriseUserDO findByEnterpriseIdAndMobile(String enterpriseId,String mobile);
}
