package com.glxp.api.dao.purchase; import com.glxp.api.entity.purchase.SupCompanyEntity; import com.glxp.api.req.purchase.FilterSupCompanyRequest; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface SupCompanyDao { SupCompanyEntity findCompany(String CustomerId); SupCompanyEntity findCompanyByName(String companyName); List getSubCompany(FilterSupCompanyRequest companyRequest); List getSubCompany2(FilterSupCompanyRequest companyRequest); List filterCompany(FilterSupCompanyRequest companyRequest); boolean modifyCompany(SupCompanyEntity companyEntity); boolean insertCompany(SupCompanyEntity companyEntity); boolean deleteCompany(String customerId); /** * 根据ID查询企业名称 * * @param customerId * @return */ String selectNameByCustomerId(@Param("customerId") String customerId); }