MaterialExtendMapper.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package com.jsh.erp.datasource.mappers;
  2. import com.jsh.erp.datasource.entities.Material;
  3. import com.jsh.erp.datasource.entities.MaterialExtend;
  4. import com.jsh.erp.datasource.entities.MaterialExtendExample;
  5. import java.util.List;
  6. import org.apache.ibatis.annotations.Param;
  7. public interface MaterialExtendMapper extends BaseMapperX<MaterialExtend>{
  8. long countByExample(MaterialExtendExample example);
  9. int deleteByExample(MaterialExtendExample example);
  10. int deleteByPrimaryKey(Long id);
  11. int insert(MaterialExtend record);
  12. int insertSelective(MaterialExtend record);
  13. List<MaterialExtend> selectByExample(MaterialExtendExample example);
  14. MaterialExtend selectByPrimaryKey(Long id);
  15. int updateByExampleSelective(@Param("record") MaterialExtend record, @Param("example") MaterialExtendExample example);
  16. int updateByExample(@Param("record") MaterialExtend record, @Param("example") MaterialExtendExample example);
  17. int updateByPrimaryKeySelective(MaterialExtend record);
  18. int updateByPrimaryKey(MaterialExtend record);
  19. /**
  20. * 根据商品id查询拓展行数据集合
  21. * @param id id数组
  22. */
  23. List<MaterialExtend> selectByMId(@Param("id") Long id);
  24. /**
  25. * 根据批次号查询拓展行数据
  26. * @param batchNumber
  27. * @return
  28. */
  29. MaterialExtend selectByBatchNumber(@Param("batchNumber") String batchNumber);
  30. }