Pre Merge pull request !261 from leeyazhou/fix
This commit is contained in:
commit
d81f47fa47
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@ public interface IGenTableColumnService
|
|||
* @param genTableColumn 业务字段信息
|
||||
* @return 业务字段集合
|
||||
*/
|
||||
public List<GenTableColumn> selectGenTableColumnListByTableId(GenTableColumn genTableColumn);
|
||||
List<GenTableColumn> selectGenTableColumnListByTableId(GenTableColumn genTableColumn);
|
||||
|
||||
/**
|
||||
* 新增业务字段
|
||||
|
|
@ -24,7 +24,7 @@ public interface IGenTableColumnService
|
|||
* @param genTableColumn 业务字段信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertGenTableColumn(GenTableColumn genTableColumn);
|
||||
int insertGenTableColumn(GenTableColumn genTableColumn);
|
||||
|
||||
/**
|
||||
* 修改业务字段
|
||||
|
|
@ -32,7 +32,7 @@ public interface IGenTableColumnService
|
|||
* @param genTableColumn 业务字段信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateGenTableColumn(GenTableColumn genTableColumn);
|
||||
int updateGenTableColumn(GenTableColumn genTableColumn);
|
||||
|
||||
/**
|
||||
* 删除业务字段信息
|
||||
|
|
@ -40,5 +40,5 @@ public interface IGenTableColumnService
|
|||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteGenTableColumnByIds(String ids);
|
||||
int deleteGenTableColumnByIds(String ids);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public interface IGenTableService
|
|||
* @param genTable 业务信息
|
||||
* @return 业务集合
|
||||
*/
|
||||
public List<GenTable> selectGenTableList(GenTable genTable);
|
||||
List<GenTable> selectGenTableList(GenTable genTable);
|
||||
|
||||
/**
|
||||
* 查询据库列表
|
||||
|
|
@ -25,7 +25,7 @@ public interface IGenTableService
|
|||
* @param genTable 业务信息
|
||||
* @return 数据库表集合
|
||||
*/
|
||||
public List<GenTable> selectDbTableList(GenTable genTable);
|
||||
List<GenTable> selectDbTableList(GenTable genTable);
|
||||
|
||||
/**
|
||||
* 查询据库列表
|
||||
|
|
@ -33,14 +33,14 @@ public interface IGenTableService
|
|||
* @param tableNames 表名称组
|
||||
* @return 数据库表集合
|
||||
*/
|
||||
public List<GenTable> selectDbTableListByNames(String[] tableNames);
|
||||
List<GenTable> selectDbTableListByNames(String[] tableNames);
|
||||
|
||||
/**
|
||||
* 查询所有表信息
|
||||
*
|
||||
* @return 表信息集合
|
||||
*/
|
||||
public List<GenTable> selectGenTableAll();
|
||||
List<GenTable> selectGenTableAll();
|
||||
|
||||
/**
|
||||
* 查询业务信息
|
||||
|
|
@ -48,7 +48,7 @@ public interface IGenTableService
|
|||
* @param id 业务ID
|
||||
* @return 业务信息
|
||||
*/
|
||||
public GenTable selectGenTableById(Long id);
|
||||
GenTable selectGenTableById(Long id);
|
||||
|
||||
/**
|
||||
* 修改业务
|
||||
|
|
@ -56,7 +56,7 @@ public interface IGenTableService
|
|||
* @param genTable 业务信息
|
||||
* @return 结果
|
||||
*/
|
||||
public void updateGenTable(GenTable genTable);
|
||||
void updateGenTable(GenTable genTable);
|
||||
|
||||
/**
|
||||
* 删除业务信息
|
||||
|
|
@ -64,7 +64,7 @@ public interface IGenTableService
|
|||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public void deleteGenTableByIds(String ids);
|
||||
void deleteGenTableByIds(String ids);
|
||||
|
||||
/**
|
||||
* 导入表结构
|
||||
|
|
@ -72,7 +72,7 @@ public interface IGenTableService
|
|||
* @param tableList 导入表列表
|
||||
* @param operName 操作人员
|
||||
*/
|
||||
public void importGenTable(List<GenTable> tableList, String operName);
|
||||
void importGenTable(List<GenTable> tableList, String operName);
|
||||
|
||||
/**
|
||||
* 预览代码
|
||||
|
|
@ -80,7 +80,7 @@ public interface IGenTableService
|
|||
* @param tableId 表编号
|
||||
* @return 预览数据列表
|
||||
*/
|
||||
public Map<String, String> previewCode(Long tableId);
|
||||
Map<String, String> previewCode(Long tableId);
|
||||
|
||||
/**
|
||||
* 生成代码(下载方式)
|
||||
|
|
@ -88,21 +88,21 @@ public interface IGenTableService
|
|||
* @param tableName 表名称
|
||||
* @return 数据
|
||||
*/
|
||||
public byte[] downloadCode(String tableName);
|
||||
byte[] downloadCode(String tableName);
|
||||
|
||||
/**
|
||||
* 生成代码(自定义路径)
|
||||
*
|
||||
* @param tableName 表名称
|
||||
*/
|
||||
public void generatorCode(String tableName);
|
||||
void generatorCode(String tableName);
|
||||
|
||||
/**
|
||||
* 同步数据库
|
||||
*
|
||||
* @param tableName 表名称
|
||||
*/
|
||||
public void synchDb(String tableName);
|
||||
void synchDb(String tableName);
|
||||
|
||||
/**
|
||||
* 批量生成代码(下载方式)
|
||||
|
|
@ -110,12 +110,12 @@ public interface IGenTableService
|
|||
* @param tableNames 表数组
|
||||
* @return 数据
|
||||
*/
|
||||
public byte[] downloadCode(String[] tableNames);
|
||||
byte[] downloadCode(String[] tableNames);
|
||||
|
||||
/**
|
||||
* 修改保存参数校验
|
||||
*
|
||||
* @param genTable 业务信息
|
||||
*/
|
||||
public void validateEdit(GenTable genTable);
|
||||
void validateEdit(GenTable genTable);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,14 +16,14 @@ public interface SysJobLogMapper
|
|||
* @param jobLog 调度日志信息
|
||||
* @return 调度任务日志集合
|
||||
*/
|
||||
public List<SysJobLog> selectJobLogList(SysJobLog jobLog);
|
||||
List<SysJobLog> selectJobLogList(SysJobLog jobLog);
|
||||
|
||||
/**
|
||||
* 查询所有调度任务日志
|
||||
*
|
||||
* @return 调度任务日志列表
|
||||
*/
|
||||
public List<SysJobLog> selectJobLogAll();
|
||||
List<SysJobLog> selectJobLogAll();
|
||||
|
||||
/**
|
||||
* 通过调度任务日志ID查询调度信息
|
||||
|
|
@ -31,7 +31,7 @@ public interface SysJobLogMapper
|
|||
* @param jobLogId 调度任务日志ID
|
||||
* @return 调度任务日志对象信息
|
||||
*/
|
||||
public SysJobLog selectJobLogById(Long jobLogId);
|
||||
SysJobLog selectJobLogById(Long jobLogId);
|
||||
|
||||
/**
|
||||
* 新增任务日志
|
||||
|
|
@ -39,7 +39,7 @@ public interface SysJobLogMapper
|
|||
* @param jobLog 调度日志信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertJobLog(SysJobLog jobLog);
|
||||
int insertJobLog(SysJobLog jobLog);
|
||||
|
||||
/**
|
||||
* 批量删除调度日志信息
|
||||
|
|
@ -47,7 +47,7 @@ public interface SysJobLogMapper
|
|||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteJobLogByIds(String[] ids);
|
||||
int deleteJobLogByIds(String[] ids);
|
||||
|
||||
/**
|
||||
* 删除任务日志
|
||||
|
|
@ -55,10 +55,10 @@ public interface SysJobLogMapper
|
|||
* @param jobId 调度日志ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteJobLogById(Long jobId);
|
||||
int deleteJobLogById(Long jobId);
|
||||
|
||||
/**
|
||||
* 清空任务日志
|
||||
*/
|
||||
public void cleanJobLog();
|
||||
void cleanJobLog();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,14 +16,14 @@ public interface SysJobMapper
|
|||
* @param job 调度信息
|
||||
* @return 操作日志集合
|
||||
*/
|
||||
public List<SysJob> selectJobList(SysJob job);
|
||||
List<SysJob> selectJobList(SysJob job);
|
||||
|
||||
/**
|
||||
* 查询所有调度任务
|
||||
*
|
||||
* @return 调度任务列表
|
||||
*/
|
||||
public List<SysJob> selectJobAll();
|
||||
List<SysJob> selectJobAll();
|
||||
|
||||
/**
|
||||
* 通过调度ID查询调度任务信息
|
||||
|
|
@ -31,7 +31,7 @@ public interface SysJobMapper
|
|||
* @param jobId 调度ID
|
||||
* @return 角色对象信息
|
||||
*/
|
||||
public SysJob selectJobById(Long jobId);
|
||||
SysJob selectJobById(Long jobId);
|
||||
|
||||
/**
|
||||
* 通过调度ID删除调度任务信息
|
||||
|
|
@ -39,7 +39,7 @@ public interface SysJobMapper
|
|||
* @param jobId 调度ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteJobById(Long jobId);
|
||||
int deleteJobById(Long jobId);
|
||||
|
||||
/**
|
||||
* 批量删除调度任务信息
|
||||
|
|
@ -47,7 +47,7 @@ public interface SysJobMapper
|
|||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteJobByIds(Long[] ids);
|
||||
int deleteJobByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 修改调度任务信息
|
||||
|
|
@ -55,7 +55,7 @@ public interface SysJobMapper
|
|||
* @param job 调度任务信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateJob(SysJob job);
|
||||
int updateJob(SysJob job);
|
||||
|
||||
/**
|
||||
* 新增调度任务信息
|
||||
|
|
@ -63,5 +63,5 @@ public interface SysJobMapper
|
|||
* @param job 调度任务信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertJob(SysJob job);
|
||||
int insertJob(SysJob job);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public interface ISysJobLogService
|
|||
* @param jobLog 调度日志信息
|
||||
* @return 调度任务日志集合
|
||||
*/
|
||||
public List<SysJobLog> selectJobLogList(SysJobLog jobLog);
|
||||
List<SysJobLog> selectJobLogList(SysJobLog jobLog);
|
||||
|
||||
/**
|
||||
* 通过调度任务日志ID查询调度信息
|
||||
|
|
@ -24,14 +24,14 @@ public interface ISysJobLogService
|
|||
* @param jobLogId 调度任务日志ID
|
||||
* @return 调度任务日志对象信息
|
||||
*/
|
||||
public SysJobLog selectJobLogById(Long jobLogId);
|
||||
SysJobLog selectJobLogById(Long jobLogId);
|
||||
|
||||
/**
|
||||
* 新增任务日志
|
||||
*
|
||||
* @param jobLog 调度日志信息
|
||||
*/
|
||||
public void addJobLog(SysJobLog jobLog);
|
||||
void addJobLog(SysJobLog jobLog);
|
||||
|
||||
/**
|
||||
* 批量删除调度日志信息
|
||||
|
|
@ -39,7 +39,7 @@ public interface ISysJobLogService
|
|||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteJobLogByIds(String ids);
|
||||
int deleteJobLogByIds(String ids);
|
||||
|
||||
/**
|
||||
* 删除任务日志
|
||||
|
|
@ -47,10 +47,10 @@ public interface ISysJobLogService
|
|||
* @param jobId 调度日志ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteJobLogById(Long jobId);
|
||||
int deleteJobLogById(Long jobId);
|
||||
|
||||
/**
|
||||
* 清空任务日志
|
||||
*/
|
||||
public void cleanJobLog();
|
||||
void cleanJobLog();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public interface ISysJobService
|
|||
* @param job 调度信息
|
||||
* @return 调度任务集合
|
||||
*/
|
||||
public List<SysJob> selectJobList(SysJob job);
|
||||
List<SysJob> selectJobList(SysJob job);
|
||||
|
||||
/**
|
||||
* 通过调度任务ID查询调度信息
|
||||
|
|
@ -26,7 +26,7 @@ public interface ISysJobService
|
|||
* @param jobId 调度任务ID
|
||||
* @return 调度任务对象信息
|
||||
*/
|
||||
public SysJob selectJobById(Long jobId);
|
||||
SysJob selectJobById(Long jobId);
|
||||
|
||||
/**
|
||||
* 暂停任务
|
||||
|
|
@ -34,7 +34,7 @@ public interface ISysJobService
|
|||
* @param job 调度信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int pauseJob(SysJob job) throws SchedulerException;
|
||||
int pauseJob(SysJob job) throws SchedulerException;
|
||||
|
||||
/**
|
||||
* 恢复任务
|
||||
|
|
@ -42,7 +42,7 @@ public interface ISysJobService
|
|||
* @param job 调度信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int resumeJob(SysJob job) throws SchedulerException;
|
||||
int resumeJob(SysJob job) throws SchedulerException;
|
||||
|
||||
/**
|
||||
* 删除任务后,所对应的trigger也将被删除
|
||||
|
|
@ -50,7 +50,7 @@ public interface ISysJobService
|
|||
* @param job 调度信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteJob(SysJob job) throws SchedulerException;
|
||||
int deleteJob(SysJob job) throws SchedulerException;
|
||||
|
||||
/**
|
||||
* 批量删除调度信息
|
||||
|
|
@ -58,7 +58,7 @@ public interface ISysJobService
|
|||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public void deleteJobByIds(String ids) throws SchedulerException;
|
||||
void deleteJobByIds(String ids) throws SchedulerException;
|
||||
|
||||
/**
|
||||
* 任务调度状态修改
|
||||
|
|
@ -66,7 +66,7 @@ public interface ISysJobService
|
|||
* @param job 调度信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int changeStatus(SysJob job) throws SchedulerException;
|
||||
int changeStatus(SysJob job) throws SchedulerException;
|
||||
|
||||
/**
|
||||
* 立即运行任务
|
||||
|
|
@ -74,7 +74,7 @@ public interface ISysJobService
|
|||
* @param job 调度信息
|
||||
* @return 结果
|
||||
*/
|
||||
public void run(SysJob job) throws SchedulerException;
|
||||
void run(SysJob job) throws SchedulerException;
|
||||
|
||||
/**
|
||||
* 新增任务
|
||||
|
|
@ -82,7 +82,7 @@ public interface ISysJobService
|
|||
* @param job 调度信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertJob(SysJob job) throws SchedulerException, TaskException;
|
||||
int insertJob(SysJob job) throws SchedulerException, TaskException;
|
||||
|
||||
/**
|
||||
* 更新任务
|
||||
|
|
@ -90,7 +90,7 @@ public interface ISysJobService
|
|||
* @param job 调度信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateJob(SysJob job) throws SchedulerException, TaskException;
|
||||
int updateJob(SysJob job) throws SchedulerException, TaskException;
|
||||
|
||||
/**
|
||||
* 校验cron表达式是否有效
|
||||
|
|
@ -98,5 +98,5 @@ public interface ISysJobService
|
|||
* @param cronExpression 表达式
|
||||
* @return 结果
|
||||
*/
|
||||
public boolean checkCronExpressionIsValid(String cronExpression);
|
||||
boolean checkCronExpressionIsValid(String cronExpression);
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public interface ISysConfigService
|
|||
* @param configId 参数配置ID
|
||||
* @return 参数配置信息
|
||||
*/
|
||||
public SysConfig selectConfigById(Long configId);
|
||||
SysConfig selectConfigById(Long configId);
|
||||
|
||||
/**
|
||||
* 根据键名查询参数配置信息
|
||||
|
|
@ -24,7 +24,7 @@ public interface ISysConfigService
|
|||
* @param configKey 参数键名
|
||||
* @return 参数键值
|
||||
*/
|
||||
public String selectConfigByKey(String configKey);
|
||||
String selectConfigByKey(String configKey);
|
||||
|
||||
/**
|
||||
* 查询参数配置列表
|
||||
|
|
@ -32,7 +32,7 @@ public interface ISysConfigService
|
|||
* @param config 参数配置信息
|
||||
* @return 参数配置集合
|
||||
*/
|
||||
public List<SysConfig> selectConfigList(SysConfig config);
|
||||
List<SysConfig> selectConfigList(SysConfig config);
|
||||
|
||||
/**
|
||||
* 新增参数配置
|
||||
|
|
@ -40,7 +40,7 @@ public interface ISysConfigService
|
|||
* @param config 参数配置信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertConfig(SysConfig config);
|
||||
int insertConfig(SysConfig config);
|
||||
|
||||
/**
|
||||
* 修改参数配置
|
||||
|
|
@ -48,7 +48,7 @@ public interface ISysConfigService
|
|||
* @param config 参数配置信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateConfig(SysConfig config);
|
||||
int updateConfig(SysConfig config);
|
||||
|
||||
/**
|
||||
* 批量删除参数配置信息
|
||||
|
|
@ -56,12 +56,12 @@ public interface ISysConfigService
|
|||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteConfigByIds(String ids);
|
||||
int deleteConfigByIds(String ids);
|
||||
|
||||
/**
|
||||
* 清空缓存数据
|
||||
*/
|
||||
public void clearCache();
|
||||
void clearCache();
|
||||
|
||||
/**
|
||||
* 校验参数键名是否唯一
|
||||
|
|
@ -69,5 +69,5 @@ public interface ISysConfigService
|
|||
* @param config 参数信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkConfigKeyUnique(SysConfig config);
|
||||
String checkConfigKeyUnique(SysConfig config);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public interface ISysDeptService
|
|||
* @param dept 部门信息
|
||||
* @return 部门信息集合
|
||||
*/
|
||||
public List<SysDept> selectDeptList(SysDept dept);
|
||||
List<SysDept> selectDeptList(SysDept dept);
|
||||
|
||||
/**
|
||||
* 查询部门管理树
|
||||
|
|
@ -26,7 +26,7 @@ public interface ISysDeptService
|
|||
* @param dept 部门信息
|
||||
* @return 所有部门信息
|
||||
*/
|
||||
public List<Ztree> selectDeptTree(SysDept dept);
|
||||
List<Ztree> selectDeptTree(SysDept dept);
|
||||
|
||||
/**
|
||||
* 查询部门管理树(排除下级)
|
||||
|
|
@ -34,7 +34,7 @@ public interface ISysDeptService
|
|||
* @param dept 部门信息
|
||||
* @return 所有部门信息
|
||||
*/
|
||||
public List<Ztree> selectDeptTreeExcludeChild(SysDept dept);
|
||||
List<Ztree> selectDeptTreeExcludeChild(SysDept dept);
|
||||
|
||||
/**
|
||||
* 根据角色ID查询菜单
|
||||
|
|
@ -42,7 +42,7 @@ public interface ISysDeptService
|
|||
* @param role 角色对象
|
||||
* @return 菜单列表
|
||||
*/
|
||||
public List<Ztree> roleDeptTreeData(SysRole role);
|
||||
List<Ztree> roleDeptTreeData(SysRole role);
|
||||
|
||||
/**
|
||||
* 查询部门人数
|
||||
|
|
@ -50,7 +50,7 @@ public interface ISysDeptService
|
|||
* @param parentId 父部门ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int selectDeptCount(Long parentId);
|
||||
int selectDeptCount(Long parentId);
|
||||
|
||||
/**
|
||||
* 查询部门是否存在用户
|
||||
|
|
@ -58,7 +58,7 @@ public interface ISysDeptService
|
|||
* @param deptId 部门ID
|
||||
* @return 结果 true 存在 false 不存在
|
||||
*/
|
||||
public boolean checkDeptExistUser(Long deptId);
|
||||
boolean checkDeptExistUser(Long deptId);
|
||||
|
||||
/**
|
||||
* 删除部门管理信息
|
||||
|
|
@ -66,7 +66,7 @@ public interface ISysDeptService
|
|||
* @param deptId 部门ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDeptById(Long deptId);
|
||||
int deleteDeptById(Long deptId);
|
||||
|
||||
/**
|
||||
* 新增保存部门信息
|
||||
|
|
@ -74,7 +74,7 @@ public interface ISysDeptService
|
|||
* @param dept 部门信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDept(SysDept dept);
|
||||
int insertDept(SysDept dept);
|
||||
|
||||
/**
|
||||
* 修改保存部门信息
|
||||
|
|
@ -82,7 +82,7 @@ public interface ISysDeptService
|
|||
* @param dept 部门信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDept(SysDept dept);
|
||||
int updateDept(SysDept dept);
|
||||
|
||||
/**
|
||||
* 根据部门ID查询信息
|
||||
|
|
@ -90,7 +90,7 @@ public interface ISysDeptService
|
|||
* @param deptId 部门ID
|
||||
* @return 部门信息
|
||||
*/
|
||||
public SysDept selectDeptById(Long deptId);
|
||||
SysDept selectDeptById(Long deptId);
|
||||
|
||||
/**
|
||||
* 根据ID查询所有子部门(正常状态)
|
||||
|
|
@ -98,7 +98,7 @@ public interface ISysDeptService
|
|||
* @param deptId 部门ID
|
||||
* @return 子部门数
|
||||
*/
|
||||
public int selectNormalChildrenDeptById(Long deptId);
|
||||
int selectNormalChildrenDeptById(Long deptId);
|
||||
|
||||
/**
|
||||
* 校验部门名称是否唯一
|
||||
|
|
@ -106,5 +106,5 @@ public interface ISysDeptService
|
|||
* @param dept 部门信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkDeptNameUnique(SysDept dept);
|
||||
String checkDeptNameUnique(SysDept dept);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public interface ISysDictDataService
|
|||
* @param dictData 字典数据信息
|
||||
* @return 字典数据集合信息
|
||||
*/
|
||||
public List<SysDictData> selectDictDataList(SysDictData dictData);
|
||||
List<SysDictData> selectDictDataList(SysDictData dictData);
|
||||
|
||||
/**
|
||||
* 根据字典类型和字典键值查询字典数据信息
|
||||
|
|
@ -25,7 +25,7 @@ public interface ISysDictDataService
|
|||
* @param dictValue 字典键值
|
||||
* @return 字典标签
|
||||
*/
|
||||
public String selectDictLabel(String dictType, String dictValue);
|
||||
String selectDictLabel(String dictType, String dictValue);
|
||||
|
||||
/**
|
||||
* 根据字典数据ID查询信息
|
||||
|
|
@ -33,7 +33,7 @@ public interface ISysDictDataService
|
|||
* @param dictCode 字典数据ID
|
||||
* @return 字典数据
|
||||
*/
|
||||
public SysDictData selectDictDataById(Long dictCode);
|
||||
SysDictData selectDictDataById(Long dictCode);
|
||||
|
||||
/**
|
||||
* 批量删除字典数据
|
||||
|
|
@ -41,7 +41,7 @@ public interface ISysDictDataService
|
|||
* @param ids 需要删除的数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteDictDataByIds(String ids);
|
||||
int deleteDictDataByIds(String ids);
|
||||
|
||||
/**
|
||||
* 新增保存字典数据信息
|
||||
|
|
@ -49,7 +49,7 @@ public interface ISysDictDataService
|
|||
* @param dictData 字典数据信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDictData(SysDictData dictData);
|
||||
int insertDictData(SysDictData dictData);
|
||||
|
||||
/**
|
||||
* 修改保存字典数据信息
|
||||
|
|
@ -57,5 +57,5 @@ public interface ISysDictDataService
|
|||
* @param dictData 字典数据信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDictData(SysDictData dictData);
|
||||
int updateDictData(SysDictData dictData);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,14 +18,14 @@ public interface ISysDictTypeService
|
|||
* @param dictType 字典类型信息
|
||||
* @return 字典类型集合信息
|
||||
*/
|
||||
public List<SysDictType> selectDictTypeList(SysDictType dictType);
|
||||
List<SysDictType> selectDictTypeList(SysDictType dictType);
|
||||
|
||||
/**
|
||||
* 根据所有字典类型
|
||||
*
|
||||
* @return 字典类型集合信息
|
||||
*/
|
||||
public List<SysDictType> selectDictTypeAll();
|
||||
List<SysDictType> selectDictTypeAll();
|
||||
|
||||
/**
|
||||
* 根据字典类型查询字典数据
|
||||
|
|
@ -33,7 +33,7 @@ public interface ISysDictTypeService
|
|||
* @param dictType 字典类型
|
||||
* @return 字典数据集合信息
|
||||
*/
|
||||
public List<SysDictData> selectDictDataByType(String dictType);
|
||||
List<SysDictData> selectDictDataByType(String dictType);
|
||||
|
||||
/**
|
||||
* 根据字典类型ID查询信息
|
||||
|
|
@ -41,7 +41,7 @@ public interface ISysDictTypeService
|
|||
* @param dictId 字典类型ID
|
||||
* @return 字典类型
|
||||
*/
|
||||
public SysDictType selectDictTypeById(Long dictId);
|
||||
SysDictType selectDictTypeById(Long dictId);
|
||||
|
||||
/**
|
||||
* 根据字典类型查询信息
|
||||
|
|
@ -49,7 +49,7 @@ public interface ISysDictTypeService
|
|||
* @param dictType 字典类型
|
||||
* @return 字典类型
|
||||
*/
|
||||
public SysDictType selectDictTypeByType(String dictType);
|
||||
SysDictType selectDictTypeByType(String dictType);
|
||||
|
||||
/**
|
||||
* 批量删除字典类型
|
||||
|
|
@ -58,12 +58,12 @@ public interface ISysDictTypeService
|
|||
* @return 结果
|
||||
* @throws Exception 异常
|
||||
*/
|
||||
public int deleteDictTypeByIds(String ids);
|
||||
int deleteDictTypeByIds(String ids);
|
||||
|
||||
/**
|
||||
* 清空缓存数据
|
||||
*/
|
||||
public void clearCache();
|
||||
void clearCache();
|
||||
|
||||
/**
|
||||
* 新增保存字典类型信息
|
||||
|
|
@ -71,7 +71,7 @@ public interface ISysDictTypeService
|
|||
* @param dictType 字典类型信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertDictType(SysDictType dictType);
|
||||
int insertDictType(SysDictType dictType);
|
||||
|
||||
/**
|
||||
* 修改保存字典类型信息
|
||||
|
|
@ -79,7 +79,7 @@ public interface ISysDictTypeService
|
|||
* @param dictType 字典类型信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateDictType(SysDictType dictType);
|
||||
int updateDictType(SysDictType dictType);
|
||||
|
||||
/**
|
||||
* 校验字典类型称是否唯一
|
||||
|
|
@ -87,7 +87,7 @@ public interface ISysDictTypeService
|
|||
* @param dictType 字典类型
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkDictTypeUnique(SysDictType dictType);
|
||||
String checkDictTypeUnique(SysDictType dictType);
|
||||
|
||||
/**
|
||||
* 查询字典类型树
|
||||
|
|
@ -95,5 +95,5 @@ public interface ISysDictTypeService
|
|||
* @param dictType 字典类型
|
||||
* @return 所有字典类型
|
||||
*/
|
||||
public List<Ztree> selectDictTree(SysDictType dictType);
|
||||
List<Ztree> selectDictTree(SysDictType dictType);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ public interface ISysLogininforService
|
|||
*
|
||||
* @param logininfor 访问日志对象
|
||||
*/
|
||||
public void insertLogininfor(SysLogininfor logininfor);
|
||||
void insertLogininfor(SysLogininfor logininfor);
|
||||
|
||||
/**
|
||||
* 查询系统登录日志集合
|
||||
|
|
@ -23,7 +23,7 @@ public interface ISysLogininforService
|
|||
* @param logininfor 访问日志对象
|
||||
* @return 登录记录集合
|
||||
*/
|
||||
public List<SysLogininfor> selectLogininforList(SysLogininfor logininfor);
|
||||
List<SysLogininfor> selectLogininforList(SysLogininfor logininfor);
|
||||
|
||||
/**
|
||||
* 批量删除系统登录日志
|
||||
|
|
@ -31,10 +31,10 @@ public interface ISysLogininforService
|
|||
* @param ids 需要删除的数据
|
||||
* @return
|
||||
*/
|
||||
public int deleteLogininforByIds(String ids);
|
||||
int deleteLogininforByIds(String ids);
|
||||
|
||||
/**
|
||||
* 清空系统登录日志
|
||||
*/
|
||||
public void cleanLogininfor();
|
||||
void cleanLogininfor();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ public interface ISysMenuService
|
|||
* @param user 用户信息
|
||||
* @return 菜单列表
|
||||
*/
|
||||
public List<SysMenu> selectMenusByUser(SysUser user);
|
||||
List<SysMenu> selectMenusByUser(SysUser user);
|
||||
|
||||
/**
|
||||
* 查询系统菜单列表
|
||||
|
|
@ -30,7 +30,7 @@ public interface ISysMenuService
|
|||
* @param userId 用户ID
|
||||
* @return 菜单列表
|
||||
*/
|
||||
public List<SysMenu> selectMenuList(SysMenu menu, Long userId);
|
||||
List<SysMenu> selectMenuList(SysMenu menu, Long userId);
|
||||
|
||||
/**
|
||||
* 查询菜单集合
|
||||
|
|
@ -38,7 +38,7 @@ public interface ISysMenuService
|
|||
* @param userId 用户ID
|
||||
* @return 所有菜单信息
|
||||
*/
|
||||
public List<SysMenu> selectMenuAll(Long userId);
|
||||
List<SysMenu> selectMenuAll(Long userId);
|
||||
|
||||
/**
|
||||
* 根据用户ID查询权限
|
||||
|
|
@ -46,7 +46,7 @@ public interface ISysMenuService
|
|||
* @param userId 用户ID
|
||||
* @return 权限列表
|
||||
*/
|
||||
public Set<String> selectPermsByUserId(Long userId);
|
||||
Set<String> selectPermsByUserId(Long userId);
|
||||
|
||||
/**
|
||||
* 根据角色ID查询菜单
|
||||
|
|
@ -55,7 +55,7 @@ public interface ISysMenuService
|
|||
* @param userId 用户ID
|
||||
* @return 菜单列表
|
||||
*/
|
||||
public List<Ztree> roleMenuTreeData(SysRole role, Long userId);
|
||||
List<Ztree> roleMenuTreeData(SysRole role, Long userId);
|
||||
|
||||
/**
|
||||
* 查询所有菜单信息
|
||||
|
|
@ -63,7 +63,7 @@ public interface ISysMenuService
|
|||
* @param userId 用户ID
|
||||
* @return 菜单列表
|
||||
*/
|
||||
public List<Ztree> menuTreeData(Long userId);
|
||||
List<Ztree> menuTreeData(Long userId);
|
||||
|
||||
/**
|
||||
* 查询系统所有权限
|
||||
|
|
@ -71,7 +71,7 @@ public interface ISysMenuService
|
|||
* @param userId 用户ID
|
||||
* @return 权限列表
|
||||
*/
|
||||
public Map<String, String> selectPermsAll(Long userId);
|
||||
Map<String, String> selectPermsAll(Long userId);
|
||||
|
||||
/**
|
||||
* 删除菜单管理信息
|
||||
|
|
@ -79,7 +79,7 @@ public interface ISysMenuService
|
|||
* @param menuId 菜单ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteMenuById(Long menuId);
|
||||
int deleteMenuById(Long menuId);
|
||||
|
||||
/**
|
||||
* 根据菜单ID查询信息
|
||||
|
|
@ -87,7 +87,7 @@ public interface ISysMenuService
|
|||
* @param menuId 菜单ID
|
||||
* @return 菜单信息
|
||||
*/
|
||||
public SysMenu selectMenuById(Long menuId);
|
||||
SysMenu selectMenuById(Long menuId);
|
||||
|
||||
/**
|
||||
* 查询菜单数量
|
||||
|
|
@ -95,7 +95,7 @@ public interface ISysMenuService
|
|||
* @param parentId 菜单父ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int selectCountMenuByParentId(Long parentId);
|
||||
int selectCountMenuByParentId(Long parentId);
|
||||
|
||||
/**
|
||||
* 查询菜单使用数量
|
||||
|
|
@ -103,7 +103,7 @@ public interface ISysMenuService
|
|||
* @param menuId 菜单ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int selectCountRoleMenuByMenuId(Long menuId);
|
||||
int selectCountRoleMenuByMenuId(Long menuId);
|
||||
|
||||
/**
|
||||
* 新增保存菜单信息
|
||||
|
|
@ -111,7 +111,7 @@ public interface ISysMenuService
|
|||
* @param menu 菜单信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertMenu(SysMenu menu);
|
||||
int insertMenu(SysMenu menu);
|
||||
|
||||
/**
|
||||
* 修改保存菜单信息
|
||||
|
|
@ -119,7 +119,7 @@ public interface ISysMenuService
|
|||
* @param menu 菜单信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateMenu(SysMenu menu);
|
||||
int updateMenu(SysMenu menu);
|
||||
|
||||
/**
|
||||
* 校验菜单名称是否唯一
|
||||
|
|
@ -127,5 +127,5 @@ public interface ISysMenuService
|
|||
* @param menu 菜单信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkMenuNameUnique(SysMenu menu);
|
||||
String checkMenuNameUnique(SysMenu menu);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ public interface ISysNoticeService
|
|||
* @param noticeId 公告ID
|
||||
* @return 公告信息
|
||||
*/
|
||||
public SysNotice selectNoticeById(Long noticeId);
|
||||
SysNotice selectNoticeById(Long noticeId);
|
||||
|
||||
/**
|
||||
* 查询公告列表
|
||||
|
|
@ -24,7 +24,7 @@ public interface ISysNoticeService
|
|||
* @param notice 公告信息
|
||||
* @return 公告集合
|
||||
*/
|
||||
public List<SysNotice> selectNoticeList(SysNotice notice);
|
||||
List<SysNotice> selectNoticeList(SysNotice notice);
|
||||
|
||||
/**
|
||||
* 新增公告
|
||||
|
|
@ -32,7 +32,7 @@ public interface ISysNoticeService
|
|||
* @param notice 公告信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertNotice(SysNotice notice);
|
||||
int insertNotice(SysNotice notice);
|
||||
|
||||
/**
|
||||
* 修改公告
|
||||
|
|
@ -40,7 +40,7 @@ public interface ISysNoticeService
|
|||
* @param notice 公告信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateNotice(SysNotice notice);
|
||||
int updateNotice(SysNotice notice);
|
||||
|
||||
/**
|
||||
* 删除公告信息
|
||||
|
|
@ -48,5 +48,5 @@ public interface ISysNoticeService
|
|||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteNoticeByIds(String ids);
|
||||
int deleteNoticeByIds(String ids);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ public interface ISysOperLogService
|
|||
*
|
||||
* @param operLog 操作日志对象
|
||||
*/
|
||||
public void insertOperlog(SysOperLog operLog);
|
||||
void insertOperlog(SysOperLog operLog);
|
||||
|
||||
/**
|
||||
* 查询系统操作日志集合
|
||||
|
|
@ -23,7 +23,7 @@ public interface ISysOperLogService
|
|||
* @param operLog 操作日志对象
|
||||
* @return 操作日志集合
|
||||
*/
|
||||
public List<SysOperLog> selectOperLogList(SysOperLog operLog);
|
||||
List<SysOperLog> selectOperLogList(SysOperLog operLog);
|
||||
|
||||
/**
|
||||
* 批量删除系统操作日志
|
||||
|
|
@ -31,7 +31,7 @@ public interface ISysOperLogService
|
|||
* @param ids 需要删除的数据
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteOperLogByIds(String ids);
|
||||
int deleteOperLogByIds(String ids);
|
||||
|
||||
/**
|
||||
* 查询操作日志详细
|
||||
|
|
@ -39,10 +39,10 @@ public interface ISysOperLogService
|
|||
* @param operId 操作ID
|
||||
* @return 操作日志对象
|
||||
*/
|
||||
public SysOperLog selectOperLogById(Long operId);
|
||||
SysOperLog selectOperLogById(Long operId);
|
||||
|
||||
/**
|
||||
* 清空操作日志
|
||||
*/
|
||||
public void cleanOperLog();
|
||||
void cleanOperLog();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,14 +16,14 @@ public interface ISysPostService
|
|||
* @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 ISysPostService
|
|||
* @param userId 用户ID
|
||||
* @return 岗位列表
|
||||
*/
|
||||
public List<SysPost> selectPostsByUserId(Long userId);
|
||||
List<SysPost> selectPostsByUserId(Long userId);
|
||||
|
||||
/**
|
||||
* 通过岗位ID查询岗位信息
|
||||
|
|
@ -39,7 +39,7 @@ public interface ISysPostService
|
|||
* @param postId 岗位ID
|
||||
* @return 角色对象信息
|
||||
*/
|
||||
public SysPost selectPostById(Long postId);
|
||||
SysPost selectPostById(Long postId);
|
||||
|
||||
/**
|
||||
* 批量删除岗位信息
|
||||
|
|
@ -48,7 +48,7 @@ public interface ISysPostService
|
|||
* @return 结果
|
||||
* @throws Exception 异常
|
||||
*/
|
||||
public int deletePostByIds(String ids) throws Exception;
|
||||
int deletePostByIds(String ids) throws Exception;
|
||||
|
||||
/**
|
||||
* 新增保存岗位信息
|
||||
|
|
@ -56,7 +56,7 @@ public interface ISysPostService
|
|||
* @param post 岗位信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPost(SysPost post);
|
||||
int insertPost(SysPost post);
|
||||
|
||||
/**
|
||||
* 修改保存岗位信息
|
||||
|
|
@ -64,7 +64,7 @@ public interface ISysPostService
|
|||
* @param post 岗位信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePost(SysPost post);
|
||||
int updatePost(SysPost post);
|
||||
|
||||
/**
|
||||
* 通过岗位ID查询岗位使用数量
|
||||
|
|
@ -72,7 +72,7 @@ public interface ISysPostService
|
|||
* @param postId 岗位ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int countUserPostById(Long postId);
|
||||
int countUserPostById(Long postId);
|
||||
|
||||
/**
|
||||
* 校验岗位名称
|
||||
|
|
@ -80,7 +80,7 @@ public interface ISysPostService
|
|||
* @param post 岗位信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkPostNameUnique(SysPost post);
|
||||
String checkPostNameUnique(SysPost post);
|
||||
|
||||
/**
|
||||
* 校验岗位编码
|
||||
|
|
@ -88,5 +88,5 @@ public interface ISysPostService
|
|||
* @param post 岗位信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkPostCodeUnique(SysPost post);
|
||||
String checkPostCodeUnique(SysPost post);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public interface ISysRoleService
|
|||
* @param role 角色信息
|
||||
* @return 角色数据集合信息
|
||||
*/
|
||||
public List<SysRole> selectRoleList(SysRole role);
|
||||
List<SysRole> selectRoleList(SysRole role);
|
||||
|
||||
/**
|
||||
* 根据用户ID查询角色
|
||||
|
|
@ -26,7 +26,7 @@ public interface ISysRoleService
|
|||
* @param userId 用户ID
|
||||
* @return 权限列表
|
||||
*/
|
||||
public Set<String> selectRoleKeys(Long userId);
|
||||
Set<String> selectRoleKeys(Long userId);
|
||||
|
||||
/**
|
||||
* 根据用户ID查询角色
|
||||
|
|
@ -34,14 +34,14 @@ public interface ISysRoleService
|
|||
* @param userId 用户ID
|
||||
* @return 角色列表
|
||||
*/
|
||||
public List<SysRole> selectRolesByUserId(Long userId);
|
||||
List<SysRole> selectRolesByUserId(Long userId);
|
||||
|
||||
/**
|
||||
* 查询所有角色
|
||||
*
|
||||
* @return 角色列表
|
||||
*/
|
||||
public List<SysRole> selectRoleAll();
|
||||
List<SysRole> selectRoleAll();
|
||||
|
||||
/**
|
||||
* 通过角色ID查询角色
|
||||
|
|
@ -49,7 +49,7 @@ public interface ISysRoleService
|
|||
* @param roleId 角色ID
|
||||
* @return 角色对象信息
|
||||
*/
|
||||
public SysRole selectRoleById(Long roleId);
|
||||
SysRole selectRoleById(Long roleId);
|
||||
|
||||
/**
|
||||
* 通过角色ID删除角色
|
||||
|
|
@ -57,7 +57,7 @@ public interface ISysRoleService
|
|||
* @param roleId 角色ID
|
||||
* @return 结果
|
||||
*/
|
||||
public boolean deleteRoleById(Long roleId);
|
||||
boolean deleteRoleById(Long roleId);
|
||||
|
||||
/**
|
||||
* 批量删除角色用户信息
|
||||
|
|
@ -66,7 +66,7 @@ public interface ISysRoleService
|
|||
* @return 结果
|
||||
* @throws Exception 异常
|
||||
*/
|
||||
public int deleteRoleByIds(String ids);
|
||||
int deleteRoleByIds(String ids);
|
||||
|
||||
/**
|
||||
* 新增保存角色信息
|
||||
|
|
@ -74,7 +74,7 @@ public interface ISysRoleService
|
|||
* @param role 角色信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertRole(SysRole role);
|
||||
int insertRole(SysRole role);
|
||||
|
||||
/**
|
||||
* 修改保存角色信息
|
||||
|
|
@ -82,7 +82,7 @@ public interface ISysRoleService
|
|||
* @param role 角色信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateRole(SysRole role);
|
||||
int updateRole(SysRole role);
|
||||
|
||||
/**
|
||||
* 修改数据权限信息
|
||||
|
|
@ -90,7 +90,7 @@ public interface ISysRoleService
|
|||
* @param role 角色信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int authDataScope(SysRole role);
|
||||
int authDataScope(SysRole role);
|
||||
|
||||
/**
|
||||
* 校验角色名称是否唯一
|
||||
|
|
@ -98,7 +98,7 @@ public interface ISysRoleService
|
|||
* @param role 角色信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkRoleNameUnique(SysRole role);
|
||||
String checkRoleNameUnique(SysRole role);
|
||||
|
||||
/**
|
||||
* 校验角色权限是否唯一
|
||||
|
|
@ -106,14 +106,14 @@ public interface ISysRoleService
|
|||
* @param role 角色信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkRoleKeyUnique(SysRole role);
|
||||
String checkRoleKeyUnique(SysRole role);
|
||||
|
||||
/**
|
||||
* 校验角色是否允许操作
|
||||
*
|
||||
* @param role 角色信息
|
||||
*/
|
||||
public void checkRoleAllowed(SysRole role);
|
||||
void checkRoleAllowed(SysRole role);
|
||||
|
||||
/**
|
||||
* 通过角色ID查询角色使用数量
|
||||
|
|
@ -121,7 +121,7 @@ public interface ISysRoleService
|
|||
* @param roleId 角色ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int countUserRoleByRoleId(Long roleId);
|
||||
int countUserRoleByRoleId(Long roleId);
|
||||
|
||||
/**
|
||||
* 角色状态修改
|
||||
|
|
@ -129,7 +129,7 @@ public interface ISysRoleService
|
|||
* @param role 角色信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int changeStatus(SysRole role);
|
||||
int changeStatus(SysRole role);
|
||||
|
||||
/**
|
||||
* 取消授权用户角色
|
||||
|
|
@ -137,7 +137,7 @@ public interface ISysRoleService
|
|||
* @param userRole 用户和角色关联信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAuthUser(SysUserRole userRole);
|
||||
int deleteAuthUser(SysUserRole userRole);
|
||||
|
||||
/**
|
||||
* 批量取消授权用户角色
|
||||
|
|
@ -146,7 +146,7 @@ public interface ISysRoleService
|
|||
* @param userIds 需要删除的用户数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteAuthUsers(Long roleId, String userIds);
|
||||
int deleteAuthUsers(Long roleId, String userIds);
|
||||
|
||||
/**
|
||||
* 批量选择授权用户角色
|
||||
|
|
@ -155,5 +155,5 @@ public interface ISysRoleService
|
|||
* @param userIds 需要删除的用户数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertAuthUsers(Long roleId, String userIds);
|
||||
int insertAuthUsers(Long roleId, String userIds);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public interface ISysUserOnlineService
|
|||
* @param sessionId 会话ID
|
||||
* @return 在线用户信息
|
||||
*/
|
||||
public SysUserOnline selectOnlineById(String sessionId);
|
||||
SysUserOnline selectOnlineById(String sessionId);
|
||||
|
||||
/**
|
||||
* 通过会话序号删除信息
|
||||
|
|
@ -25,7 +25,7 @@ public interface ISysUserOnlineService
|
|||
* @param sessionId 会话ID
|
||||
* @return 在线用户信息
|
||||
*/
|
||||
public void deleteOnlineById(String sessionId);
|
||||
void deleteOnlineById(String sessionId);
|
||||
|
||||
/**
|
||||
* 通过会话序号删除信息
|
||||
|
|
@ -33,14 +33,14 @@ public interface ISysUserOnlineService
|
|||
* @param sessions 会话ID集合
|
||||
* @return 在线用户信息
|
||||
*/
|
||||
public void batchDeleteOnline(List<String> sessions);
|
||||
void batchDeleteOnline(List<String> sessions);
|
||||
|
||||
/**
|
||||
* 保存会话信息
|
||||
*
|
||||
* @param online 会话信息
|
||||
*/
|
||||
public void saveOnline(SysUserOnline online);
|
||||
void saveOnline(SysUserOnline online);
|
||||
|
||||
/**
|
||||
* 查询会话集合
|
||||
|
|
@ -48,14 +48,14 @@ public interface ISysUserOnlineService
|
|||
* @param userOnline 分页参数
|
||||
* @return 会话集合
|
||||
*/
|
||||
public List<SysUserOnline> selectUserOnlineList(SysUserOnline userOnline);
|
||||
List<SysUserOnline> selectUserOnlineList(SysUserOnline userOnline);
|
||||
|
||||
/**
|
||||
* 强退用户
|
||||
*
|
||||
* @param sessionId 会话ID
|
||||
*/
|
||||
public void forceLogout(String sessionId);
|
||||
void forceLogout(String sessionId);
|
||||
|
||||
/**
|
||||
* 清理用户缓存
|
||||
|
|
@ -63,7 +63,7 @@ public interface ISysUserOnlineService
|
|||
* @param loginName 登录名称
|
||||
* @param sessionId 会话ID
|
||||
*/
|
||||
public void removeUserCache(String loginName, String sessionId);
|
||||
void removeUserCache(String loginName, String sessionId);
|
||||
|
||||
/**
|
||||
* 查询会话集合
|
||||
|
|
@ -71,5 +71,5 @@ public interface ISysUserOnlineService
|
|||
* @param expiredDate 有效期
|
||||
* @return 会话集合
|
||||
*/
|
||||
public List<SysUserOnline> selectOnlineByExpired(Date expiredDate);
|
||||
List<SysUserOnline> selectOnlineByExpired(Date expiredDate);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 用户信息集合信息
|
||||
*/
|
||||
public List<SysUser> selectUserList(SysUser user);
|
||||
List<SysUser> selectUserList(SysUser user);
|
||||
|
||||
/**
|
||||
* 根据条件分页查询已分配用户角色列表
|
||||
|
|
@ -25,7 +25,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 用户信息集合信息
|
||||
*/
|
||||
public List<SysUser> selectAllocatedList(SysUser user);
|
||||
List<SysUser> selectAllocatedList(SysUser user);
|
||||
|
||||
/**
|
||||
* 根据条件分页查询未分配用户角色列表
|
||||
|
|
@ -33,7 +33,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 用户信息集合信息
|
||||
*/
|
||||
public List<SysUser> selectUnallocatedList(SysUser user);
|
||||
List<SysUser> selectUnallocatedList(SysUser user);
|
||||
|
||||
/**
|
||||
* 通过用户名查询用户
|
||||
|
|
@ -41,7 +41,7 @@ public interface ISysUserService
|
|||
* @param userName 用户名
|
||||
* @return 用户对象信息
|
||||
*/
|
||||
public SysUser selectUserByLoginName(String userName);
|
||||
SysUser selectUserByLoginName(String userName);
|
||||
|
||||
/**
|
||||
* 通过手机号码查询用户
|
||||
|
|
@ -49,7 +49,7 @@ public interface ISysUserService
|
|||
* @param phoneNumber 手机号码
|
||||
* @return 用户对象信息
|
||||
*/
|
||||
public SysUser selectUserByPhoneNumber(String phoneNumber);
|
||||
SysUser selectUserByPhoneNumber(String phoneNumber);
|
||||
|
||||
/**
|
||||
* 通过邮箱查询用户
|
||||
|
|
@ -57,7 +57,7 @@ public interface ISysUserService
|
|||
* @param email 邮箱
|
||||
* @return 用户对象信息
|
||||
*/
|
||||
public SysUser selectUserByEmail(String email);
|
||||
SysUser selectUserByEmail(String email);
|
||||
|
||||
/**
|
||||
* 通过用户ID查询用户
|
||||
|
|
@ -65,7 +65,7 @@ public interface ISysUserService
|
|||
* @param userId 用户ID
|
||||
* @return 用户对象信息
|
||||
*/
|
||||
public SysUser selectUserById(Long userId);
|
||||
SysUser selectUserById(Long userId);
|
||||
|
||||
/**
|
||||
* 通过用户ID查询用户和角色关联
|
||||
|
|
@ -73,7 +73,7 @@ public interface ISysUserService
|
|||
* @param userId 用户ID
|
||||
* @return 用户和角色关联列表
|
||||
*/
|
||||
public List<SysUserRole> selectUserRoleByUserId(Long userId);
|
||||
List<SysUserRole> selectUserRoleByUserId(Long userId);
|
||||
|
||||
/**
|
||||
* 通过用户ID删除用户
|
||||
|
|
@ -81,7 +81,7 @@ public interface ISysUserService
|
|||
* @param userId 用户ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteUserById(Long userId);
|
||||
int deleteUserById(Long userId);
|
||||
|
||||
/**
|
||||
* 批量删除用户信息
|
||||
|
|
@ -90,7 +90,7 @@ public interface ISysUserService
|
|||
* @return 结果
|
||||
* @throws Exception 异常
|
||||
*/
|
||||
public int deleteUserByIds(String ids);
|
||||
int deleteUserByIds(String ids);
|
||||
|
||||
/**
|
||||
* 保存用户信息
|
||||
|
|
@ -98,7 +98,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertUser(SysUser user);
|
||||
int insertUser(SysUser user);
|
||||
|
||||
/**
|
||||
* 注册用户信息
|
||||
|
|
@ -106,7 +106,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
public boolean registerUser(SysUser user);
|
||||
boolean registerUser(SysUser user);
|
||||
|
||||
/**
|
||||
* 保存用户信息
|
||||
|
|
@ -114,7 +114,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateUser(SysUser user);
|
||||
int updateUser(SysUser user);
|
||||
|
||||
/**
|
||||
* 修改用户详细信息
|
||||
|
|
@ -122,7 +122,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateUserInfo(SysUser user);
|
||||
int updateUserInfo(SysUser user);
|
||||
|
||||
/**
|
||||
* 用户授权角色
|
||||
|
|
@ -130,7 +130,7 @@ public interface ISysUserService
|
|||
* @param userId 用户ID
|
||||
* @param roleIds 角色组
|
||||
*/
|
||||
public void insertUserAuth(Long userId, Long[] roleIds);
|
||||
void insertUserAuth(Long userId, Long[] roleIds);
|
||||
|
||||
/**
|
||||
* 修改用户密码信息
|
||||
|
|
@ -138,7 +138,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int resetUserPwd(SysUser user);
|
||||
int resetUserPwd(SysUser user);
|
||||
|
||||
/**
|
||||
* 校验用户名称是否唯一
|
||||
|
|
@ -146,7 +146,7 @@ public interface ISysUserService
|
|||
* @param loginName 登录名称
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkLoginNameUnique(String loginName);
|
||||
String checkLoginNameUnique(String loginName);
|
||||
|
||||
/**
|
||||
* 校验手机号码是否唯一
|
||||
|
|
@ -154,7 +154,7 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkPhoneUnique(SysUser user);
|
||||
String checkPhoneUnique(SysUser user);
|
||||
|
||||
/**
|
||||
* 校验email是否唯一
|
||||
|
|
@ -162,14 +162,14 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
public String checkEmailUnique(SysUser user);
|
||||
String checkEmailUnique(SysUser user);
|
||||
|
||||
/**
|
||||
* 校验用户是否允许操作
|
||||
*
|
||||
* @param user 用户信息
|
||||
*/
|
||||
public void checkUserAllowed(SysUser user);
|
||||
void checkUserAllowed(SysUser user);
|
||||
|
||||
/**
|
||||
* 根据用户ID查询用户所属角色组
|
||||
|
|
@ -177,7 +177,7 @@ public interface ISysUserService
|
|||
* @param userId 用户ID
|
||||
* @return 结果
|
||||
*/
|
||||
public String selectUserRoleGroup(Long userId);
|
||||
String selectUserRoleGroup(Long userId);
|
||||
|
||||
/**
|
||||
* 根据用户ID查询用户所属岗位组
|
||||
|
|
@ -185,7 +185,7 @@ public interface ISysUserService
|
|||
* @param userId 用户ID
|
||||
* @return 结果
|
||||
*/
|
||||
public String selectUserPostGroup(Long userId);
|
||||
String selectUserPostGroup(Long userId);
|
||||
|
||||
/**
|
||||
* 导入用户数据
|
||||
|
|
@ -195,7 +195,7 @@ public interface ISysUserService
|
|||
* @param operName 操作用户
|
||||
* @return 结果
|
||||
*/
|
||||
public String importUser(List<SysUser> userList, Boolean isUpdateSupport, String operName);
|
||||
String importUser(List<SysUser> userList, Boolean isUpdateSupport, String operName);
|
||||
|
||||
/**
|
||||
* 用户状态修改
|
||||
|
|
@ -203,5 +203,5 @@ public interface ISysUserService
|
|||
* @param user 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
public int changeStatus(SysUser user);
|
||||
int changeStatus(SysUser user);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue