package com.jsh.erp.datasource.mappers; import com.jsh.erp.datasource.entities.Material; import com.jsh.erp.datasource.entities.MaterialExtend; import com.jsh.erp.datasource.entities.MaterialExtendExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface MaterialExtendMapper extends BaseMapperX{ long countByExample(MaterialExtendExample example); int deleteByExample(MaterialExtendExample example); int deleteByPrimaryKey(Long id); int insert(MaterialExtend record); int insertSelective(MaterialExtend record); List selectByExample(MaterialExtendExample example); MaterialExtend selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") MaterialExtend record, @Param("example") MaterialExtendExample example); int updateByExample(@Param("record") MaterialExtend record, @Param("example") MaterialExtendExample example); int updateByPrimaryKeySelective(MaterialExtend record); int updateByPrimaryKey(MaterialExtend record); /** * 根据商品id查询拓展行数据集合 * @param id id数组 */ List selectByMId(@Param("id") Long id); /** * 根据批次号查询拓展行数据 * @param batchNumber * @return */ MaterialExtend selectByBatchNumber(@Param("batchNumber") String batchNumber); }