You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
Java
40 lines
1.1 KiB
Java
package com.glxp.api.dao.purchase;
|
|
|
|
|
|
import com.glxp.api.dao.BaseMapperPlus;
|
|
import com.glxp.api.entity.purchase.SupCertEntity;
|
|
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 extends BaseMapperPlus<SupCompanyDao, SupCompanyEntity, SupCompanyEntity> {
|
|
|
|
SupCompanyEntity findCompany(String CustomerId);
|
|
|
|
SupCompanyEntity findCompanyByName(String companyName);
|
|
|
|
List<SupCompanyEntity> getSubCompany(FilterSupCompanyRequest companyRequest);
|
|
|
|
List<SupCompanyEntity> getSubCompany2(FilterSupCompanyRequest companyRequest);
|
|
|
|
List<SupCompanyEntity> 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);
|
|
}
|