Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package net.wicp.tams.cas.dao;
import java.util.List;
import net.wicp.tams.cas.bean.models.SysUser;
import net.wicp.tams.cas.bean.models.SysUserExample;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
public interface SysUserMapper {
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
long countByExample(SysUserExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
int deleteByExample(SysUserExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
@Delete({ "delete from sys_user", "where id = #{id,jdbcType=BIGINT}" })
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
@Insert({ "insert into sys_user (id, user_name, ", "password, gender, ", "email, mobile, status, ",
"org_id, remark, create_time, ", "update_time, minus_role, ", "duties, tenant_id)",
"values (#{id,jdbcType=BIGINT}, #{userName,jdbcType=VARCHAR}, ",
"#{password,jdbcType=VARCHAR}, #{gender,jdbcType=VARCHAR}, ",
"#{email,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, ",
"#{orgId,jdbcType=BIGINT}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ",
"#{updateTime,jdbcType=TIMESTAMP}, #{minusRole,jdbcType=VARCHAR}, ",
"#{duties,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT})" })
int insert(SysUser record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
int insertSelective(SysUser record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
List selectByExample(SysUserExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
@Select({ "select", "id, user_name, password, gender, email, mobile, status, org_id, remark, create_time, ",
"update_time, minus_role, duties, tenant_id", "from sys_user", "where id = #{id,jdbcType=BIGINT}" })
@ResultMap("net.wicp.tams.cas.dao.SysUserMapper.BaseResultMap")
SysUser selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
int updateByExampleSelective(@Param("record") SysUser record, @Param("example") SysUserExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
int updateByExample(@Param("record") SysUser record, @Param("example") SysUserExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
int updateByPrimaryKeySelective(SysUser record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_user
*
*/
@Update({ "update sys_user", "set user_name = #{userName,jdbcType=VARCHAR},",
"password = #{password,jdbcType=VARCHAR},", "gender = #{gender,jdbcType=VARCHAR},",
"email = #{email,jdbcType=VARCHAR},", "mobile = #{mobile,jdbcType=VARCHAR},",
"status = #{status,jdbcType=VARCHAR},", "org_id = #{orgId,jdbcType=BIGINT},",
"remark = #{remark,jdbcType=VARCHAR},", "create_time = #{createTime,jdbcType=TIMESTAMP},",
"update_time = #{updateTime,jdbcType=TIMESTAMP},", "minus_role = #{minusRole,jdbcType=VARCHAR},",
"duties = #{duties,jdbcType=VARCHAR},", "tenant_id = #{tenantId,jdbcType=BIGINT}",
"where id = #{id,jdbcType=BIGINT}" })
int updateByPrimaryKey(SysUser record);
}