package com.thhy.engineering.modules.biz.engineering.mapper;
|
|
import com.thhy.engineering.modules.biz.engineering.entity.SupplierDto;
|
import com.thhy.engineering.modules.biz.engineering.entity.SysSupplier;
|
import com.thhy.engineering.modules.biz.engineering.entity.SysSupplierPro;
|
import com.thhy.general.annotations.Idkey;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.HashMap;
|
import java.util.List;
|
import java.util.Map;
|
|
@Mapper
|
public interface SysSupplierMapper {
|
|
void supplierInsert(@Idkey("id") Map<String, Object> values);
|
|
void supplierDel(String supplierId);
|
|
//@Param("supplierId") String supplierId,@Param("proId") String proId
|
void supplierProInsert(@Idkey("id") HashMap<String,Object> map);
|
|
String supplierNoByOne(String supplierNo);
|
|
String supplierNameByOne(String supplierName);
|
|
String succByOne(String succ);
|
|
List<SysSupplier> supplierList(Map<String, Object> values);
|
|
List<SysSupplierPro> supplierProBy(@Param("supplierId") String id);
|
|
SysSupplier supplierInfo(String supplierId);
|
|
void supplierUpdate(Map<String, Object> values);
|
|
void supplierProDel(@Param("supplierId")String id);
|
|
List<SupplierDto> supplierPull(String companyId);
|
}
|