package com.nanometer.smartlab.dao; import com.nanometer.smartlab.entity.SysSupplier; import org.apache.ibatis.annotations.Param; 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 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 ids) throws DataAccessException; void insertBatch(List list); List exportExcelList(Map params); }