You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
software18/UsersMapper.java

48 lines
1.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.dao;
import com.entity.Users;
import com.entity.UsersExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* @ClassName UsersMapper
* @Description 用户模块数据持久层
*/
public interface UsersMapper {
//根据条件获取用户表users的数据数量
int countByExample(UsersExample example);
//根据条件删除用户表users的数据
int deleteByExample(UsersExample example);
//根据主键ID列删除用户表users的数据
int deleteByPrimaryKey(Integer id);
//插入用户表users的实体数据包含null值
int insert(Users record);
//插入用户表users的实体数据不包含null值
int insertSelective(Users record);
//根据条件获取用户表users的数据列表
List<Users> selectByExample(UsersExample example);
//根据主键ID列获取用户表users的数据实体
Users selectByPrimaryKey(Integer id);
//根据条件更新用户表users的实体数据不包含null值
int updateByExampleSelective(@Param("record") Users record, @Param("example") UsersExample example);
//根据条件更新用户表users的实体数据包含null值
int updateByExample(@Param("record") Users record, @Param("example") UsersExample example);
//根据主键ID列更新用户表users的实体数据不包含null值
int updateByPrimaryKeySelective(Users record);
//根据主键ID列更新用户表users的实体数据包含null值
int updateByPrimaryKey(Users record);
}