kongzy
2024-07-01 47a751cb301d05276ae5d75145d57b2d090fe4e1
src/main/java/com/nanometer/smartlab/dao/SysSupplierDao.java
@@ -2,6 +2,7 @@
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;
@@ -12,18 +13,21 @@
 */
public interface SysSupplierDao {
    public SysSupplier getSysSupplier(String id) throws DataAccessException;
    public SysSupplier getSysSupplier(Long 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 Long getSysSupplierId(@Param("name") String name,@Param("groupId") Long groupId) throws DataAccessException;
    public Long 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;
    public int deleteSysSupplier(List<Long> ids) throws DataAccessException;
    void insertBatch(List<?> list);
    List<Map> exportExcelList(Map<String, String> params);
    public SysSupplier getSysSupplierByName(@Param("name") String name);
}