张晓波
2023-09-19 164694c47c35d6654df69b533e8dbf8b5423efc5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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);
}