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.
|
|
|
package com.glxp.api.dao.purchase;
|
|
|
|
|
|
|
|
|
|
|
|
import com.glxp.api.dao.BaseMapperPlus;
|
|
|
|
import com.glxp.api.entity.purchase.SupManufacturerEntity;
|
|
|
|
import com.glxp.api.req.purchase.FilterSupManufacturerRequest;
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@Mapper
|
|
|
|
public interface SupManufacturerDao extends BaseMapperPlus<SupManufacturerDao, SupManufacturerEntity, SupManufacturerEntity> {
|
|
|
|
|
|
|
|
SupManufacturerEntity findCompany(Long id);
|
|
|
|
|
|
|
|
SupManufacturerEntity findCompanyByName(String companyName);
|
|
|
|
|
|
|
|
List<SupManufacturerEntity> getCompany(FilterSupManufacturerRequest filterSupManufacturerRequest);
|
|
|
|
|
|
|
|
boolean modifyCompany(SupManufacturerEntity supManufacturerEntity);
|
|
|
|
|
|
|
|
boolean insertCompany(SupManufacturerEntity supManufacturerEntity);
|
|
|
|
|
|
|
|
boolean deleteById(@Param("id") String id);
|
|
|
|
|
|
|
|
List<SupManufacturerEntity> getCompanyByNameAndCode(FilterSupManufacturerRequest filterSupManufacturerRequest);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 根据生产厂家ID查询企业名称
|
|
|
|
*
|
|
|
|
* @param manufacturerId
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
String selectNameByManufacturerId(@Param("manufacturerId") String manufacturerId);
|
|
|
|
}
|