kongzy
2023-11-28 59d9ea33f503e363f2e2941c7c00cc9dd9d9d1c7
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
package com.nanometer.smartlab.dao;
 
import com.nanometer.smartlab.entity.SysSupplier;
import org.apache.ibatis.annotations.Param;
import org.apache.xmlbeans.impl.xb.xsdschema.Public;
import org.springframework.dao.DataAccessException;
 
import java.util.List;
import java.util.Map;
 
/**
 * Created by johnny on 17/11/29.
 */
public interface SysSupplierDao {
 
    public SysSupplier getSysSupplier(String id) throws DataAccessException;
    public List<SysSupplier> getSysSupplierList(Map params) throws DataAccessException;
    public int getSysSupplierTotalCount(Map params) throws DataAccessException;
    public String getSysSupplierId(@Param("name") String name,@Param("groupId") String groupId) throws DataAccessException;
    public String getSysSupplierIdByname(String name) throws DataAccessException;
 
    public void insertSysSupplier(SysSupplier sysSupplier) throws DataAccessException;
    public int updateSysSupplier(SysSupplier sysSupplier) throws DataAccessException;
 
    public int deleteSysSupplier(List<String> ids) throws DataAccessException;
 
    void insertBatch(List<?> list);
 
    List<Map> exportExcelList(Map<String, String> params);
 
 
    public SysSupplier getSysSupplierByName(@Param("name") String name);
}