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.SysRole;
import net.wicp.tams.cas.bean.models.SysRoleExample;
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 SysRoleMapper {
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
long countByExample(SysRoleExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
int deleteByExample(SysRoleExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
@Delete({ "delete from sys_role", "where id = #{id,jdbcType=BIGINT}" })
int deleteByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
@Insert({ "insert into sys_role (id, name, ", "status, remark)",
"values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, ",
"#{status,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR})" })
int insert(SysRole record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
int insertSelective(SysRole record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
List selectByExample(SysRoleExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
@Select({ "select", "id, name, status, remark", "from sys_role", "where id = #{id,jdbcType=BIGINT}" })
@ResultMap("net.wicp.tams.cas.dao.SysRoleMapper.BaseResultMap")
SysRole selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
int updateByExampleSelective(@Param("record") SysRole record, @Param("example") SysRoleExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
int updateByExample(@Param("record") SysRole record, @Param("example") SysRoleExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
int updateByPrimaryKeySelective(SysRole record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
@Update({ "update sys_role", "set name = #{name,jdbcType=VARCHAR},", "status = #{status,jdbcType=VARCHAR},",
"remark = #{remark,jdbcType=VARCHAR}", "where id = #{id,jdbcType=BIGINT}" })
int updateByPrimaryKey(SysRole record);
}