package com.nanometer.smartlab.dao; import com.nanometer.smartlab.entity.DangerousEncode; import com.nanometer.smartlab.entity.DangerousEncodeVo; import org.apache.ibatis.annotations.Param; import java.util.List; import java.util.Map; public interface DangerousEncodeMapper { int deleteByPrimaryKey(Long id); int insert(DangerousEncode record); int insertSelective(DangerousEncode record); DangerousEncode selectByPrimaryKey(String id); int updateByPrimaryKeySelective(DangerousEncode record); int updateByPrimaryKey(DangerousEncode record); List selectAll(Map params); int countAll(Map params); List selectExportList(Map params); List selectByCodeAndName(@Param("reagentcode") String reagentcode,@Param("reagentname") String reagentname,@Param("cas") String cas,@Param("code") String code); List selectByReagentName(@Param("reagentname") String reagentname, @Param("cas") String cas); DangerousEncode selectByName(@Param("reagentname") String reagentname); DangerousEncode selectById(@Param("id") Long id); }