package com.jsh.erp.datasource.mappers; import com.jsh.erp.datasource.entities.Unit; import com.jsh.erp.datasource.entities.UnitExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface UnitMapper { long countByExample(UnitExample example); int deleteByExample(UnitExample example); int deleteByPrimaryKey(Long id); int insert(Unit record); int insertSelective(Unit record); List selectByExample(UnitExample example); Unit selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") Unit record, @Param("example") UnitExample example); int updateByExample(@Param("record") Unit record, @Param("example") UnitExample example); int updateByPrimaryKeySelective(Unit record); int updateByPrimaryKey(Unit record); }