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.SysRoleRes;
import net.wicp.tams.cas.bean.models.SysRoleResExample;
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 SysRoleResMapper {
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
long countByExample(SysRoleResExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
int deleteByExample(SysRoleResExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
@Delete({ "delete from sys_role_res", "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_res
*
*/
@Insert({ "insert into sys_role_res (id, role_id, ", "res_id, auth_code, tenant_id)",
"values (#{id,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}, ",
"#{resId,jdbcType=BIGINT}, #{authCode,jdbcType=BIGINT}, #{tenantId,jdbcType=BIGINT})" })
int insert(SysRoleRes record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
int insertSelective(SysRoleRes record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
List selectByExample(SysRoleResExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
@Select({ "select", "id, role_id, res_id, auth_code, tenant_id", "from sys_role_res",
"where id = #{id,jdbcType=BIGINT}" })
@ResultMap("net.wicp.tams.cas.dao.SysRoleResMapper.BaseResultMap")
SysRoleRes selectByPrimaryKey(Long id);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
int updateByExampleSelective(@Param("record") SysRoleRes record, @Param("example") SysRoleResExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
int updateByExample(@Param("record") SysRoleRes record, @Param("example") SysRoleResExample example);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
int updateByPrimaryKeySelective(SysRoleRes record);
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role_res
*
*/
@Update({ "update sys_role_res", "set role_id = #{roleId,jdbcType=BIGINT},", "res_id = #{resId,jdbcType=BIGINT},",
"auth_code = #{authCode,jdbcType=BIGINT},", "tenant_id = #{tenantId,jdbcType=BIGINT}",
"where id = #{id,jdbcType=BIGINT}" })
int updateByPrimaryKey(SysRoleRes record);
}