package com.trs.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.trs.project.entity.BusinessInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


@Mapper
public interface BusinessInfoMapper extends BaseMapper<BusinessInfo> {

    @Select("select count(1) from BUSINESS_INFO where name = ${name}} )")
    int selectBusinessInfoIsTrue(String name);
}
