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.
28 lines
852 B
Java
28 lines
852 B
Java
2 years ago
|
package com.glxp.api.dao.purchase;
|
||
|
|
||
|
|
||
|
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 {
|
||
|
|
||
|
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);
|
||
|
}
|