104 lines
2.9 KiB
Java
104 lines
2.9 KiB
Java
package com.jsh.erp.datasource.mappers;
|
|
|
|
import com.jsh.erp.datasource.entities.Role;
|
|
import com.jsh.erp.datasource.entities.RoleExample;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
public interface RoleMapper {
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int countByExample(RoleExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int deleteByExample(RoleExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int deleteByPrimaryKey(Long id);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int insert(Role record);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int insertSelective(Role record);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
List<Role> selectByExample(RoleExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
Role selectByPrimaryKey(Long id);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int updateByExample(@Param("record") Role record, @Param("example") RoleExample example);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int updateByPrimaryKeySelective(Role record);
|
|
|
|
/**
|
|
* This method was generated by MyBatis Generator.
|
|
* This method corresponds to the database table jsh_role
|
|
*
|
|
* @mbggenerated
|
|
*/
|
|
int updateByPrimaryKey(Role record);
|
|
|
|
List<Role> selectByConditionRole(
|
|
@Param("name") String name,
|
|
@Param("offset") Integer offset,
|
|
@Param("rows") Integer rows);
|
|
|
|
int countsByRole(
|
|
@Param("name") String name);
|
|
} |