fix: 接口中定义的方法可去除public

This commit is contained in:
leeyazhou 2021-01-29 11:04:39 +08:00
parent 42026cd090
commit ee4cb184c2
No known key found for this signature in database
GPG Key ID: 71DCAE7B09986EDF
19 changed files with 145 additions and 145 deletions

View File

@ -16,7 +16,7 @@ public interface GenTableColumnMapper
* @param tableName 表名称
* @return 列信息
*/
public List<GenTableColumn> selectDbTableColumnsByName(String tableName);
List<GenTableColumn> selectDbTableColumnsByName(String tableName);
/**
* 查询业务字段列表
@ -24,7 +24,7 @@ public interface GenTableColumnMapper
* @param genTableColumn 业务字段信息
* @return 业务字段集合
*/
public List<GenTableColumn> selectGenTableColumnListByTableId(GenTableColumn genTableColumn);
List<GenTableColumn> selectGenTableColumnListByTableId(GenTableColumn genTableColumn);
/**
* 新增业务字段
@ -32,7 +32,7 @@ public interface GenTableColumnMapper
* @param genTableColumn 业务字段信息
* @return 结果
*/
public int insertGenTableColumn(GenTableColumn genTableColumn);
int insertGenTableColumn(GenTableColumn genTableColumn);
/**
* 修改业务字段
@ -40,7 +40,7 @@ public interface GenTableColumnMapper
* @param genTableColumn 业务字段信息
* @return 结果
*/
public int updateGenTableColumn(GenTableColumn genTableColumn);
int updateGenTableColumn(GenTableColumn genTableColumn);
/**
* 删除业务字段
@ -48,7 +48,7 @@ public interface GenTableColumnMapper
* @param genTableColumns 列数据
* @return 结果
*/
public int deleteGenTableColumns(List<GenTableColumn> genTableColumns);
int deleteGenTableColumns(List<GenTableColumn> genTableColumns);
/**
* 批量删除业务字段
@ -56,5 +56,5 @@ public interface GenTableColumnMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteGenTableColumnByIds(Long[] ids);
int deleteGenTableColumnByIds(Long[] ids);
}

View File

@ -16,7 +16,7 @@ public interface GenTableMapper
* @param genTable 业务信息
* @return 业务集合
*/
public List<GenTable> selectGenTableList(GenTable genTable);
List<GenTable> selectGenTableList(GenTable genTable);
/**
* 查询据库列表
@ -24,7 +24,7 @@ public interface GenTableMapper
* @param genTable 业务信息
* @return 数据库表集合
*/
public List<GenTable> selectDbTableList(GenTable genTable);
List<GenTable> selectDbTableList(GenTable genTable);
/**
* 查询据库列表
@ -32,14 +32,14 @@ public interface GenTableMapper
* @param tableNames 表名称组
* @return 数据库表集合
*/
public List<GenTable> selectDbTableListByNames(String[] tableNames);
List<GenTable> selectDbTableListByNames(String[] tableNames);
/**
* 查询所有表信息
*
* @return 表信息集合
*/
public List<GenTable> selectGenTableAll();
List<GenTable> selectGenTableAll();
/**
* 查询表ID业务信息
@ -47,7 +47,7 @@ public interface GenTableMapper
* @param id 业务ID
* @return 业务信息
*/
public GenTable selectGenTableById(Long id);
GenTable selectGenTableById(Long id);
/**
* 查询表名称业务信息
@ -55,7 +55,7 @@ public interface GenTableMapper
* @param tableName 表名称
* @return 业务信息
*/
public GenTable selectGenTableByName(String tableName);
GenTable selectGenTableByName(String tableName);
/**
* 新增业务
@ -63,7 +63,7 @@ public interface GenTableMapper
* @param genTable 业务信息
* @return 结果
*/
public int insertGenTable(GenTable genTable);
int insertGenTable(GenTable genTable);
/**
* 修改业务
@ -71,7 +71,7 @@ public interface GenTableMapper
* @param genTable 业务信息
* @return 结果
*/
public int updateGenTable(GenTable genTable);
int updateGenTable(GenTable genTable);
/**
* 批量删除业务
@ -79,5 +79,5 @@ public interface GenTableMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteGenTableByIds(Long[] ids);
int deleteGenTableByIds(Long[] ids);
}

View File

@ -20,7 +20,7 @@ public interface ${ClassName}Mapper
* @param ${pkColumn.javaField} ${functionName}ID
* @return ${functionName}
*/
public ${ClassName} select${ClassName}ById(${pkColumn.javaType} ${pkColumn.javaField});
${ClassName} select${ClassName}ById(${pkColumn.javaType} ${pkColumn.javaField});
/**
* 查询${functionName}列表
@ -28,7 +28,7 @@ public interface ${ClassName}Mapper
* @param ${className} ${functionName}
* @return ${functionName}集合
*/
public List<${ClassName}> select${ClassName}List(${ClassName} ${className});
List<${ClassName}> select${ClassName}List(${ClassName} ${className});
/**
* 新增${functionName}
@ -36,7 +36,7 @@ public interface ${ClassName}Mapper
* @param ${className} ${functionName}
* @return 结果
*/
public int insert${ClassName}(${ClassName} ${className});
int insert${ClassName}(${ClassName} ${className});
/**
* 修改${functionName}
@ -44,7 +44,7 @@ public interface ${ClassName}Mapper
* @param ${className} ${functionName}
* @return 结果
*/
public int update${ClassName}(${ClassName} ${className});
int update${ClassName}(${ClassName} ${className});
/**
* 删除${functionName}
@ -52,7 +52,7 @@ public interface ${ClassName}Mapper
* @param ${pkColumn.javaField} ${functionName}ID
* @return 结果
*/
public int delete${ClassName}ById(${pkColumn.javaType} ${pkColumn.javaField});
int delete${ClassName}ById(${pkColumn.javaType} ${pkColumn.javaField});
/**
* 批量删除${functionName}
@ -60,7 +60,7 @@ public interface ${ClassName}Mapper
* @param ${pkColumn.javaField}s 需要删除的数据ID
* @return 结果
*/
public int delete${ClassName}ByIds(String[] ${pkColumn.javaField}s);
int delete${ClassName}ByIds(String[] ${pkColumn.javaField}s);
#if($table.sub)
/**
@ -69,7 +69,7 @@ public interface ${ClassName}Mapper
* @param customerIds 需要删除的数据ID
* @return 结果
*/
public int delete${subClassName}By${subTableFkClassName}s(String[] ${pkColumn.javaField}s);
int delete${subClassName}By${subTableFkClassName}s(String[] ${pkColumn.javaField}s);
/**
* 批量新增${subTable.functionName}
@ -77,7 +77,7 @@ public interface ${ClassName}Mapper
* @param ${subclassName}List ${subTable.functionName}列表
* @return 结果
*/
public int batch${subClassName}(List<${subClassName}> ${subclassName}List);
int batch${subClassName}(List<${subClassName}> ${subclassName}List);
/**
@ -86,6 +86,6 @@ public interface ${ClassName}Mapper
* @param roleId 角色ID
* @return 结果
*/
public int delete${subClassName}By${subTableFkClassName}(${pkColumn.javaType} ${pkColumn.javaField});
int delete${subClassName}By${subTableFkClassName}(${pkColumn.javaType} ${pkColumn.javaField});
#end
}

View File

@ -16,7 +16,7 @@ public interface SysConfigMapper
* @param config 参数配置信息
* @return 参数配置信息
*/
public SysConfig selectConfig(SysConfig config);
SysConfig selectConfig(SysConfig config);
/**
* 查询参数配置列表
@ -24,7 +24,7 @@ public interface SysConfigMapper
* @param config 参数配置信息
* @return 参数配置集合
*/
public List<SysConfig> selectConfigList(SysConfig config);
List<SysConfig> selectConfigList(SysConfig config);
/**
* 根据键名查询参数配置信息
@ -32,7 +32,7 @@ public interface SysConfigMapper
* @param configKey 参数键名
* @return 参数配置信息
*/
public SysConfig checkConfigKeyUnique(String configKey);
SysConfig checkConfigKeyUnique(String configKey);
/**
* 新增参数配置
@ -40,7 +40,7 @@ public interface SysConfigMapper
* @param config 参数配置信息
* @return 结果
*/
public int insertConfig(SysConfig config);
int insertConfig(SysConfig config);
/**
* 修改参数配置
@ -48,7 +48,7 @@ public interface SysConfigMapper
* @param config 参数配置信息
* @return 结果
*/
public int updateConfig(SysConfig config);
int updateConfig(SysConfig config);
/**
* 批量删除参数配置
@ -56,5 +56,5 @@ public interface SysConfigMapper
* @param configIds 需要删除的数据ID
* @return 结果
*/
public int deleteConfigByIds(String[] configIds);
int deleteConfigByIds(String[] configIds);
}

View File

@ -17,7 +17,7 @@ public interface SysDeptMapper
* @param dept 部门信息
* @return 结果
*/
public int selectDeptCount(SysDept dept);
int selectDeptCount(SysDept dept);
/**
* 查询部门是否存在用户
@ -25,7 +25,7 @@ public interface SysDeptMapper
* @param deptId 部门ID
* @return 结果
*/
public int checkDeptExistUser(Long deptId);
int checkDeptExistUser(Long deptId);
/**
* 查询部门管理数据
@ -33,7 +33,7 @@ public interface SysDeptMapper
* @param dept 部门信息
* @return 部门信息集合
*/
public List<SysDept> selectDeptList(SysDept dept);
List<SysDept> selectDeptList(SysDept dept);
/**
* 删除部门管理信息
@ -41,7 +41,7 @@ public interface SysDeptMapper
* @param deptId 部门ID
* @return 结果
*/
public int deleteDeptById(Long deptId);
int deleteDeptById(Long deptId);
/**
* 新增部门信息
@ -49,7 +49,7 @@ public interface SysDeptMapper
* @param dept 部门信息
* @return 结果
*/
public int insertDept(SysDept dept);
int insertDept(SysDept dept);
/**
* 修改部门信息
@ -57,7 +57,7 @@ public interface SysDeptMapper
* @param dept 部门信息
* @return 结果
*/
public int updateDept(SysDept dept);
int updateDept(SysDept dept);
/**
* 修改子元素关系
@ -65,7 +65,7 @@ public interface SysDeptMapper
* @param depts 子元素
* @return 结果
*/
public int updateDeptChildren(@Param("depts") List<SysDept> depts);
int updateDeptChildren(@Param("depts") List<SysDept> depts);
/**
* 根据部门ID查询信息
@ -73,7 +73,7 @@ public interface SysDeptMapper
* @param deptId 部门ID
* @return 部门信息
*/
public SysDept selectDeptById(Long deptId);
SysDept selectDeptById(Long deptId);
/**
* 校验部门名称是否唯一
@ -82,7 +82,7 @@ public interface SysDeptMapper
* @param parentId 父部门ID
* @return 结果
*/
public SysDept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId);
SysDept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId);
/**
* 根据角色ID查询部门
@ -90,14 +90,14 @@ public interface SysDeptMapper
* @param roleId 角色ID
* @return 部门列表
*/
public List<String> selectRoleDeptTree(Long roleId);
List<String> selectRoleDeptTree(Long roleId);
/**
* 修改所在部门的父级部门状态
*
* @param dept 部门
*/
public void updateDeptStatus(SysDept dept);
void updateDeptStatus(SysDept dept);
/**
* 根据ID查询所有子部门
@ -105,7 +105,7 @@ public interface SysDeptMapper
* @param deptId 部门ID
* @return 部门列表
*/
public List<SysDept> selectChildrenDeptById(Long deptId);
List<SysDept> selectChildrenDeptById(Long deptId);
/**
* 根据ID查询所有子部门正常状态
@ -113,5 +113,5 @@ public interface SysDeptMapper
* @param deptId 部门ID
* @return 子部门数
*/
public int selectNormalChildrenDeptById(Long deptId);
int selectNormalChildrenDeptById(Long deptId);
}

View File

@ -17,7 +17,7 @@ public interface SysDictDataMapper
* @param dictData 字典数据信息
* @return 字典数据集合信息
*/
public List<SysDictData> selectDictDataList(SysDictData dictData);
List<SysDictData> selectDictDataList(SysDictData dictData);
/**
* 根据字典类型查询字典数据
@ -25,7 +25,7 @@ public interface SysDictDataMapper
* @param dictType 字典类型
* @return 字典数据集合信息
*/
public List<SysDictData> selectDictDataByType(String dictType);
List<SysDictData> selectDictDataByType(String dictType);
/**
* 根据字典类型和字典键值查询字典数据信息
@ -34,7 +34,7 @@ public interface SysDictDataMapper
* @param dictValue 字典键值
* @return 字典标签
*/
public String selectDictLabel(@Param("dictType") String dictType, @Param("dictValue") String dictValue);
String selectDictLabel(@Param("dictType") String dictType, @Param("dictValue") String dictValue);
/**
* 根据字典数据ID查询信息
@ -42,7 +42,7 @@ public interface SysDictDataMapper
* @param dictCode 字典数据ID
* @return 字典数据
*/
public SysDictData selectDictDataById(Long dictCode);
SysDictData selectDictDataById(Long dictCode);
/**
* 查询字典数据
@ -50,7 +50,7 @@ public interface SysDictDataMapper
* @param dictType 字典类型
* @return 字典数据
*/
public int countDictDataByType(String dictType);
int countDictDataByType(String dictType);
/**
* 通过字典ID删除字典数据信息
@ -58,7 +58,7 @@ public interface SysDictDataMapper
* @param dictCode 字典数据ID
* @return 结果
*/
public int deleteDictDataById(Long dictCode);
int deleteDictDataById(Long dictCode);
/**
* 批量删除字典数据
@ -66,7 +66,7 @@ public interface SysDictDataMapper
* @param ids 需要删除的数据
* @return 结果
*/
public int deleteDictDataByIds(String[] ids);
int deleteDictDataByIds(String[] ids);
/**
* 新增字典数据信息
@ -74,7 +74,7 @@ public interface SysDictDataMapper
* @param dictData 字典数据信息
* @return 结果
*/
public int insertDictData(SysDictData dictData);
int insertDictData(SysDictData dictData);
/**
* 修改字典数据信息
@ -82,7 +82,7 @@ public interface SysDictDataMapper
* @param dictData 字典数据信息
* @return 结果
*/
public int updateDictData(SysDictData dictData);
int updateDictData(SysDictData dictData);
/**
* 同步修改字典类型
@ -91,5 +91,5 @@ public interface SysDictDataMapper
* @param newDictType 新旧字典类型
* @return 结果
*/
public int updateDictDataType(@Param("oldDictType") String oldDictType, @Param("newDictType") String newDictType);
int updateDictDataType(@Param("oldDictType") String oldDictType, @Param("newDictType") String newDictType);
}

View File

@ -16,14 +16,14 @@ public interface SysDictTypeMapper
* @param dictType 字典类型信息
* @return 字典类型集合信息
*/
public List<SysDictType> selectDictTypeList(SysDictType dictType);
List<SysDictType> selectDictTypeList(SysDictType dictType);
/**
* 根据所有字典类型
*
* @return 字典类型集合信息
*/
public List<SysDictType> selectDictTypeAll();
List<SysDictType> selectDictTypeAll();
/**
* 根据字典类型ID查询信息
@ -31,7 +31,7 @@ public interface SysDictTypeMapper
* @param dictId 字典类型ID
* @return 字典类型
*/
public SysDictType selectDictTypeById(Long dictId);
SysDictType selectDictTypeById(Long dictId);
/**
* 根据字典类型查询信息
@ -39,7 +39,7 @@ public interface SysDictTypeMapper
* @param dictType 字典类型
* @return 字典类型
*/
public SysDictType selectDictTypeByType(String dictType);
SysDictType selectDictTypeByType(String dictType);
/**
* 通过字典ID删除字典信息
@ -47,7 +47,7 @@ public interface SysDictTypeMapper
* @param dictId 字典ID
* @return 结果
*/
public int deleteDictTypeById(Long dictId);
int deleteDictTypeById(Long dictId);
/**
* 批量删除字典类型
@ -55,7 +55,7 @@ public interface SysDictTypeMapper
* @param ids 需要删除的数据
* @return 结果
*/
public int deleteDictTypeByIds(Long[] ids);
int deleteDictTypeByIds(Long[] ids);
/**
* 新增字典类型信息
@ -63,7 +63,7 @@ public interface SysDictTypeMapper
* @param dictType 字典类型信息
* @return 结果
*/
public int insertDictType(SysDictType dictType);
int insertDictType(SysDictType dictType);
/**
* 修改字典类型信息
@ -71,7 +71,7 @@ public interface SysDictTypeMapper
* @param dictType 字典类型信息
* @return 结果
*/
public int updateDictType(SysDictType dictType);
int updateDictType(SysDictType dictType);
/**
* 校验字典类型称是否唯一
@ -79,5 +79,5 @@ public interface SysDictTypeMapper
* @param dictType 字典类型
* @return 结果
*/
public SysDictType checkDictTypeUnique(String dictType);
SysDictType checkDictTypeUnique(String dictType);
}

View File

@ -15,7 +15,7 @@ public interface SysLogininforMapper
*
* @param logininfor 访问日志对象
*/
public void insertLogininfor(SysLogininfor logininfor);
void insertLogininfor(SysLogininfor logininfor);
/**
* 查询系统登录日志集合
@ -23,7 +23,7 @@ public interface SysLogininforMapper
* @param logininfor 访问日志对象
* @return 登录记录集合
*/
public List<SysLogininfor> selectLogininforList(SysLogininfor logininfor);
List<SysLogininfor> selectLogininforList(SysLogininfor logininfor);
/**
* 批量删除系统登录日志
@ -31,12 +31,12 @@ public interface SysLogininforMapper
* @param ids 需要删除的数据
* @return 结果
*/
public int deleteLogininforByIds(String[] ids);
int deleteLogininforByIds(String[] ids);
/**
* 清空系统登录日志
*
* @return 结果
*/
public int cleanLogininfor();
int cleanLogininfor();
}

View File

@ -16,7 +16,7 @@ public interface SysMenuMapper
*
* @return 菜单列表
*/
public List<SysMenu> selectMenuAll();
List<SysMenu> selectMenuAll();
/**
* 根据用户ID查询菜单
@ -24,14 +24,14 @@ public interface SysMenuMapper
* @param userId 用户ID
* @return 菜单列表
*/
public List<SysMenu> selectMenuAllByUserId(Long userId);
List<SysMenu> selectMenuAllByUserId(Long userId);
/**
* 查询系统正常显示菜单不含按钮
*
* @return 菜单列表
*/
public List<SysMenu> selectMenuNormalAll();
List<SysMenu> selectMenuNormalAll();
/**
* 根据用户ID查询菜单
@ -39,7 +39,7 @@ public interface SysMenuMapper
* @param userId 用户ID
* @return 菜单列表
*/
public List<SysMenu> selectMenusByUserId(Long userId);
List<SysMenu> selectMenusByUserId(Long userId);
/**
* 根据用户ID查询权限
@ -47,7 +47,7 @@ public interface SysMenuMapper
* @param userId 用户ID
* @return 权限列表
*/
public List<String> selectPermsByUserId(Long userId);
List<String> selectPermsByUserId(Long userId);
/**
* 根据角色ID查询菜单
@ -55,7 +55,7 @@ public interface SysMenuMapper
* @param roleId 角色ID
* @return 菜单列表
*/
public List<String> selectMenuTree(Long roleId);
List<String> selectMenuTree(Long roleId);
/**
* 查询系统菜单列表
@ -63,7 +63,7 @@ public interface SysMenuMapper
* @param menu 菜单信息
* @return 菜单列表
*/
public List<SysMenu> selectMenuList(SysMenu menu);
List<SysMenu> selectMenuList(SysMenu menu);
/**
* 查询系统菜单列表
@ -71,7 +71,7 @@ public interface SysMenuMapper
* @param menu 菜单信息
* @return 菜单列表
*/
public List<SysMenu> selectMenuListByUserId(SysMenu menu);
List<SysMenu> selectMenuListByUserId(SysMenu menu);
/**
* 删除菜单管理信息
@ -79,7 +79,7 @@ public interface SysMenuMapper
* @param menuId 菜单ID
* @return 结果
*/
public int deleteMenuById(Long menuId);
int deleteMenuById(Long menuId);
/**
* 根据菜单ID查询信息
@ -87,7 +87,7 @@ public interface SysMenuMapper
* @param menuId 菜单ID
* @return 菜单信息
*/
public SysMenu selectMenuById(Long menuId);
SysMenu selectMenuById(Long menuId);
/**
* 查询菜单数量
@ -95,7 +95,7 @@ public interface SysMenuMapper
* @param parentId 菜单父ID
* @return 结果
*/
public int selectCountMenuByParentId(Long parentId);
int selectCountMenuByParentId(Long parentId);
/**
* 新增菜单信息
@ -103,7 +103,7 @@ public interface SysMenuMapper
* @param menu 菜单信息
* @return 结果
*/
public int insertMenu(SysMenu menu);
int insertMenu(SysMenu menu);
/**
* 修改菜单信息
@ -111,7 +111,7 @@ public interface SysMenuMapper
* @param menu 菜单信息
* @return 结果
*/
public int updateMenu(SysMenu menu);
int updateMenu(SysMenu menu);
/**
* 校验菜单名称是否唯一
@ -120,5 +120,5 @@ public interface SysMenuMapper
* @param parentId 父菜单ID
* @return 结果
*/
public SysMenu checkMenuNameUnique(@Param("menuName") String menuName, @Param("parentId") Long parentId);
SysMenu checkMenuNameUnique(@Param("menuName") String menuName, @Param("parentId") Long parentId);
}

View File

@ -16,7 +16,7 @@ public interface SysNoticeMapper
* @param noticeId 公告ID
* @return 公告信息
*/
public SysNotice selectNoticeById(Long noticeId);
SysNotice selectNoticeById(Long noticeId);
/**
* 查询公告列表
@ -24,7 +24,7 @@ public interface SysNoticeMapper
* @param notice 公告信息
* @return 公告集合
*/
public List<SysNotice> selectNoticeList(SysNotice notice);
List<SysNotice> selectNoticeList(SysNotice notice);
/**
* 新增公告
@ -32,7 +32,7 @@ public interface SysNoticeMapper
* @param notice 公告信息
* @return 结果
*/
public int insertNotice(SysNotice notice);
int insertNotice(SysNotice notice);
/**
* 修改公告
@ -40,7 +40,7 @@ public interface SysNoticeMapper
* @param notice 公告信息
* @return 结果
*/
public int updateNotice(SysNotice notice);
int updateNotice(SysNotice notice);
/**
* 批量删除公告
@ -48,5 +48,5 @@ public interface SysNoticeMapper
* @param noticeIds 需要删除的数据ID
* @return 结果
*/
public int deleteNoticeByIds(String[] noticeIds);
int deleteNoticeByIds(String[] noticeIds);
}

View File

@ -15,7 +15,7 @@ public interface SysOperLogMapper
*
* @param operLog 操作日志对象
*/
public void insertOperlog(SysOperLog operLog);
void insertOperlog(SysOperLog operLog);
/**
* 查询系统操作日志集合
@ -23,7 +23,7 @@ public interface SysOperLogMapper
* @param operLog 操作日志对象
* @return 操作日志集合
*/
public List<SysOperLog> selectOperLogList(SysOperLog operLog);
List<SysOperLog> selectOperLogList(SysOperLog operLog);
/**
* 批量删除系统操作日志
@ -31,7 +31,7 @@ public interface SysOperLogMapper
* @param ids 需要删除的数据
* @return 结果
*/
public int deleteOperLogByIds(String[] ids);
int deleteOperLogByIds(String[] ids);
/**
* 查询操作日志详细
@ -39,10 +39,10 @@ public interface SysOperLogMapper
* @param operId 操作ID
* @return 操作日志对象
*/
public SysOperLog selectOperLogById(Long operId);
SysOperLog selectOperLogById(Long operId);
/**
* 清空操作日志
*/
public void cleanOperLog();
void cleanOperLog();
}

View File

@ -16,14 +16,14 @@ public interface SysPostMapper
* @param post 岗位信息
* @return 岗位数据集合
*/
public List<SysPost> selectPostList(SysPost post);
List<SysPost> selectPostList(SysPost post);
/**
* 查询所有岗位
*
* @return 岗位列表
*/
public List<SysPost> selectPostAll();
List<SysPost> selectPostAll();
/**
* 根据用户ID查询岗位
@ -31,7 +31,7 @@ public interface SysPostMapper
* @param userId 用户ID
* @return 岗位列表
*/
public List<SysPost> selectPostsByUserId(Long userId);
List<SysPost> selectPostsByUserId(Long userId);
/**
* 通过岗位ID查询岗位信息
@ -39,7 +39,7 @@ public interface SysPostMapper
* @param postId 岗位ID
* @return 角色对象信息
*/
public SysPost selectPostById(Long postId);
SysPost selectPostById(Long postId);
/**
* 批量删除岗位信息
@ -47,7 +47,7 @@ public interface SysPostMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deletePostByIds(Long[] ids);
int deletePostByIds(Long[] ids);
/**
* 修改岗位信息
@ -55,7 +55,7 @@ public interface SysPostMapper
* @param post 岗位信息
* @return 结果
*/
public int updatePost(SysPost post);
int updatePost(SysPost post);
/**
* 新增岗位信息
@ -63,7 +63,7 @@ public interface SysPostMapper
* @param post 岗位信息
* @return 结果
*/
public int insertPost(SysPost post);
int insertPost(SysPost post);
/**
* 校验岗位名称
@ -71,7 +71,7 @@ public interface SysPostMapper
* @param postName 岗位名称
* @return 结果
*/
public SysPost checkPostNameUnique(String postName);
SysPost checkPostNameUnique(String postName);
/**
* 校验岗位编码
@ -79,5 +79,5 @@ public interface SysPostMapper
* @param postCode 岗位编码
* @return 结果
*/
public SysPost checkPostCodeUnique(String postCode);
SysPost checkPostCodeUnique(String postCode);
}

View File

@ -16,7 +16,7 @@ public interface SysRoleDeptMapper
* @param roleId 角色ID
* @return 结果
*/
public int deleteRoleDeptByRoleId(Long roleId);
int deleteRoleDeptByRoleId(Long roleId);
/**
* 批量删除角色部门关联信息
@ -24,7 +24,7 @@ public interface SysRoleDeptMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteRoleDept(Long[] ids);
int deleteRoleDept(Long[] ids);
/**
* 查询部门使用数量
@ -32,7 +32,7 @@ public interface SysRoleDeptMapper
* @param deptId 部门ID
* @return 结果
*/
public int selectCountRoleDeptByDeptId(Long deptId);
int selectCountRoleDeptByDeptId(Long deptId);
/**
* 批量新增角色部门信息
@ -40,5 +40,5 @@ public interface SysRoleDeptMapper
* @param roleDeptList 角色部门列表
* @return 结果
*/
public int batchRoleDept(List<SysRoleDept> roleDeptList);
int batchRoleDept(List<SysRoleDept> roleDeptList);
}

View File

@ -16,7 +16,7 @@ public interface SysRoleMapper
* @param role 角色信息
* @return 角色数据集合信息
*/
public List<SysRole> selectRoleList(SysRole role);
List<SysRole> selectRoleList(SysRole role);
/**
* 根据用户ID查询角色
@ -24,7 +24,7 @@ public interface SysRoleMapper
* @param userId 用户ID
* @return 角色列表
*/
public List<SysRole> selectRolesByUserId(Long userId);
List<SysRole> selectRolesByUserId(Long userId);
/**
* 通过角色ID查询角色
@ -32,7 +32,7 @@ public interface SysRoleMapper
* @param roleId 角色ID
* @return 角色对象信息
*/
public SysRole selectRoleById(Long roleId);
SysRole selectRoleById(Long roleId);
/**
* 通过角色ID删除角色
@ -40,7 +40,7 @@ public interface SysRoleMapper
* @param roleId 角色ID
* @return 结果
*/
public int deleteRoleById(Long roleId);
int deleteRoleById(Long roleId);
/**
* 批量角色用户信息
@ -48,7 +48,7 @@ public interface SysRoleMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteRoleByIds(Long[] ids);
int deleteRoleByIds(Long[] ids);
/**
* 修改角色信息
@ -56,7 +56,7 @@ public interface SysRoleMapper
* @param role 角色信息
* @return 结果
*/
public int updateRole(SysRole role);
int updateRole(SysRole role);
/**
* 新增角色信息
@ -64,7 +64,7 @@ public interface SysRoleMapper
* @param role 角色信息
* @return 结果
*/
public int insertRole(SysRole role);
int insertRole(SysRole role);
/**
* 校验角色名称是否唯一
@ -72,7 +72,7 @@ public interface SysRoleMapper
* @param roleName 角色名称
* @return 角色信息
*/
public SysRole checkRoleNameUnique(String roleName);
SysRole checkRoleNameUnique(String roleName);
/**
* 校验角色权限是否唯一
@ -80,5 +80,5 @@ public interface SysRoleMapper
* @param roleKey 角色权限
* @return 角色信息
*/
public SysRole checkRoleKeyUnique(String roleKey);
SysRole checkRoleKeyUnique(String roleKey);
}

View File

@ -16,7 +16,7 @@ public interface SysRoleMenuMapper
* @param roleId 角色ID
* @return 结果
*/
public int deleteRoleMenuByRoleId(Long roleId);
int deleteRoleMenuByRoleId(Long roleId);
/**
* 批量删除角色菜单关联信息
@ -24,7 +24,7 @@ public interface SysRoleMenuMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteRoleMenu(Long[] ids);
int deleteRoleMenu(Long[] ids);
/**
* 查询菜单使用数量
@ -32,7 +32,7 @@ public interface SysRoleMenuMapper
* @param menuId 菜单ID
* @return 结果
*/
public int selectCountRoleMenuByMenuId(Long menuId);
int selectCountRoleMenuByMenuId(Long menuId);
/**
* 批量新增角色菜单信息
@ -40,5 +40,5 @@ public interface SysRoleMenuMapper
* @param roleMenuList 角色菜单列表
* @return 结果
*/
public int batchRoleMenu(List<SysRoleMenu> roleMenuList);
int batchRoleMenu(List<SysRoleMenu> roleMenuList);
}

View File

@ -16,7 +16,7 @@ public interface SysUserMapper
* @param sysUser 用户信息
* @return 用户信息集合信息
*/
public List<SysUser> selectUserList(SysUser sysUser);
List<SysUser> selectUserList(SysUser sysUser);
/**
* 根据条件分页查询未已配用户角色列表
@ -24,7 +24,7 @@ public interface SysUserMapper
* @param user 用户信息
* @return 用户信息集合信息
*/
public List<SysUser> selectAllocatedList(SysUser user);
List<SysUser> selectAllocatedList(SysUser user);
/**
* 根据条件分页查询未分配用户角色列表
@ -32,7 +32,7 @@ public interface SysUserMapper
* @param user 用户信息
* @return 用户信息集合信息
*/
public List<SysUser> selectUnallocatedList(SysUser user);
List<SysUser> selectUnallocatedList(SysUser user);
/**
* 通过用户名查询用户
@ -40,7 +40,7 @@ public interface SysUserMapper
* @param userName 用户名
* @return 用户对象信息
*/
public SysUser selectUserByLoginName(String userName);
SysUser selectUserByLoginName(String userName);
/**
* 通过手机号码查询用户
@ -48,7 +48,7 @@ public interface SysUserMapper
* @param phoneNumber 手机号码
* @return 用户对象信息
*/
public SysUser selectUserByPhoneNumber(String phoneNumber);
SysUser selectUserByPhoneNumber(String phoneNumber);
/**
* 通过邮箱查询用户
@ -56,7 +56,7 @@ public interface SysUserMapper
* @param email 邮箱
* @return 用户对象信息
*/
public SysUser selectUserByEmail(String email);
SysUser selectUserByEmail(String email);
/**
* 通过用户ID查询用户
@ -64,7 +64,7 @@ public interface SysUserMapper
* @param userId 用户ID
* @return 用户对象信息
*/
public SysUser selectUserById(Long userId);
SysUser selectUserById(Long userId);
/**
* 通过用户ID删除用户
@ -72,7 +72,7 @@ public interface SysUserMapper
* @param userId 用户ID
* @return 结果
*/
public int deleteUserById(Long userId);
int deleteUserById(Long userId);
/**
* 批量删除用户信息
@ -80,7 +80,7 @@ public interface SysUserMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteUserByIds(Long[] ids);
int deleteUserByIds(Long[] ids);
/**
* 修改用户信息
@ -88,7 +88,7 @@ public interface SysUserMapper
* @param user 用户信息
* @return 结果
*/
public int updateUser(SysUser user);
int updateUser(SysUser user);
/**
* 新增用户信息
@ -96,7 +96,7 @@ public interface SysUserMapper
* @param user 用户信息
* @return 结果
*/
public int insertUser(SysUser user);
int insertUser(SysUser user);
/**
* 校验用户名称是否唯一
@ -104,7 +104,7 @@ public interface SysUserMapper
* @param loginName 登录名称
* @return 结果
*/
public int checkLoginNameUnique(String loginName);
int checkLoginNameUnique(String loginName);
/**
* 校验手机号码是否唯一
@ -112,7 +112,7 @@ public interface SysUserMapper
* @param phonenumber 手机号码
* @return 结果
*/
public SysUser checkPhoneUnique(String phonenumber);
SysUser checkPhoneUnique(String phonenumber);
/**
* 校验email是否唯一
@ -120,5 +120,5 @@ public interface SysUserMapper
* @param email 用户邮箱
* @return 结果
*/
public SysUser checkEmailUnique(String email);
SysUser checkEmailUnique(String email);
}

View File

@ -16,7 +16,7 @@ public interface SysUserOnlineMapper
* @param sessionId 会话ID
* @return 在线用户信息
*/
public SysUserOnline selectOnlineById(String sessionId);
SysUserOnline selectOnlineById(String sessionId);
/**
* 通过会话序号删除信息
@ -24,7 +24,7 @@ public interface SysUserOnlineMapper
* @param sessionId 会话ID
* @return 在线用户信息
*/
public int deleteOnlineById(String sessionId);
int deleteOnlineById(String sessionId);
/**
* 保存会话信息
@ -32,7 +32,7 @@ public interface SysUserOnlineMapper
* @param online 会话信息
* @return 结果
*/
public int saveOnline(SysUserOnline online);
int saveOnline(SysUserOnline online);
/**
* 查询会话集合
@ -40,7 +40,7 @@ public interface SysUserOnlineMapper
* @param userOnline 会话参数
* @return 会话集合
*/
public List<SysUserOnline> selectUserOnlineList(SysUserOnline userOnline);
List<SysUserOnline> selectUserOnlineList(SysUserOnline userOnline);
/**
* 查询过期会话集合
@ -48,5 +48,5 @@ public interface SysUserOnlineMapper
* @param lastAccessTime 过期时间
* @return 会话集合
*/
public List<SysUserOnline> selectOnlineByExpired(String lastAccessTime);
List<SysUserOnline> selectOnlineByExpired(String lastAccessTime);
}

View File

@ -16,7 +16,7 @@ public interface SysUserPostMapper
* @param userId 用户ID
* @return 结果
*/
public int deleteUserPostByUserId(Long userId);
int deleteUserPostByUserId(Long userId);
/**
* 通过岗位ID查询岗位使用数量
@ -24,7 +24,7 @@ public interface SysUserPostMapper
* @param postId 岗位ID
* @return 结果
*/
public int countUserPostById(Long postId);
int countUserPostById(Long postId);
/**
* 批量删除用户和岗位关联
@ -32,7 +32,7 @@ public interface SysUserPostMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteUserPost(Long[] ids);
int deleteUserPost(Long[] ids);
/**
* 批量新增用户岗位信息
@ -40,5 +40,5 @@ public interface SysUserPostMapper
* @param userPostList 用户角色列表
* @return 结果
*/
public int batchUserPost(List<SysUserPost> userPostList);
int batchUserPost(List<SysUserPost> userPostList);
}

View File

@ -25,7 +25,7 @@ public interface SysUserRoleMapper
* @param userId 用户ID
* @return 结果
*/
public int deleteUserRoleByUserId(Long userId);
int deleteUserRoleByUserId(Long userId);
/**
* 批量删除用户和角色关联
@ -33,7 +33,7 @@ public interface SysUserRoleMapper
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteUserRole(Long[] ids);
int deleteUserRole(Long[] ids);
/**
* 通过角色ID查询角色使用数量
@ -41,7 +41,7 @@ public interface SysUserRoleMapper
* @param roleId 角色ID
* @return 结果
*/
public int countUserRoleByRoleId(Long roleId);
int countUserRoleByRoleId(Long roleId);
/**
* 批量新增用户角色信息
@ -49,7 +49,7 @@ public interface SysUserRoleMapper
* @param userRoleList 用户角色列表
* @return 结果
*/
public int batchUserRole(List<SysUserRole> userRoleList);
int batchUserRole(List<SysUserRole> userRoleList);
/**
* 删除用户和角色关联信息
@ -57,7 +57,7 @@ public interface SysUserRoleMapper
* @param userRole 用户和角色关联信息
* @return 结果
*/
public int deleteUserRoleInfo(SysUserRole userRole);
int deleteUserRoleInfo(SysUserRole userRole);
/**
* 批量取消授权用户角色
@ -66,5 +66,5 @@ public interface SysUserRoleMapper
* @param userIds 需要删除的用户数据ID
* @return 结果
*/
public int deleteUserRoleInfos(@Param("roleId") Long roleId, @Param("userIds") Long[] userIds);
int deleteUserRoleInfos(@Param("roleId") Long roleId, @Param("userIds") Long[] userIds);
}