UserMapper.java 822 B

123456789101112131415161718192021222324252627282930
  1. package com.jsh.erp.datasource.mappers;
  2. import com.jsh.erp.datasource.entities.User;
  3. import com.jsh.erp.datasource.entities.UserExample;
  4. import java.util.List;
  5. import org.apache.ibatis.annotations.Param;
  6. public interface UserMapper {
  7. long countByExample(UserExample example);
  8. int deleteByExample(UserExample example);
  9. int deleteByPrimaryKey(Long id);
  10. int insert(User record);
  11. int insertSelective(User record);
  12. List<User> selectByExample(UserExample example);
  13. User selectByPrimaryKey(Long id);
  14. int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);
  15. int updateByExample(@Param("record") User record, @Param("example") UserExample example);
  16. int updateByPrimaryKeySelective(User record);
  17. int updateByPrimaryKey(User record);
  18. }