kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
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
package com.nanometer.smartlab.service;
 
import com.nanometer.smartlab.entity.SysSupplier;
import org.primefaces.event.FileUploadEvent;
 
import java.util.List;
import java.util.Map;
 
/**
 * Created by johnny on 17/11/29.
 */
public interface SysSupplierService {
 
    public List<SysSupplier> getSysSupplierList(String name, Integer first, Integer pageSize);
    public List<SysSupplier> getSysSupplierList();
    public int getSysSupplierTotalCount(String name);
    public SysSupplier getSysSupplier(Long id);
    public Long getSysSupplierId(String name, Long groupId);
    public Long getSysSupplierIdByname(String name);
 
 
    public SysSupplier insertSysSupplier(SysSupplier sysSupplier);
    public boolean updateSysSupplier(SysSupplier sysSupplier);
    public boolean deleteSysSupplier(List<SysSupplier> sysSupplierList);
 
    void importSupplier(FileUploadEvent event) throws Exception;
 
    List<Map> exportExcelList(String name);
 
    void export2Excel(List<Map> list) throws Exception;
 
 
    SysSupplier getSysSupplierByName(String name);
}