package com.ssj.dao.weixin.library.dao;

import com.ssj.bean.weixin.libmy.domain.TbLibcancelInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

@Repository
public interface ILibCancelDao extends JpaRepository<TbLibcancelInfo, String> {
	@Query(nativeQuery=true,value="select * from tb_lib_cancel_info where lib_id=?1 limit 1")
	TbLibcancelInfo findByLibId(String libId);

}
