新增采集调度器代码生成
parent
c4b29f96dc
commit
ff2f44389f
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchCollectErrorLogApi;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectErrorLogDTO;
|
||||
import com.docus.server.service.ISchCollectErrorLogService;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectErrorLogVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器异常日志 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchCollectErrorLogController implements SchCollectErrorLogApi {
|
||||
@Resource
|
||||
private ISchCollectErrorLogService iSchCollectErrorLogService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchCollectErrorLogVO findById(String id) {
|
||||
return iSchCollectErrorLogService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchCollectErrorLogVO> search(SearchRequest searchRequest) {
|
||||
return iSchCollectErrorLogService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectErrorLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchCollectErrorLogDTO schCollectErrorLogDTO) {
|
||||
return iSchCollectErrorLogService.add(schCollectErrorLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectErrorLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchCollectErrorLogDTO schCollectErrorLogDTO) {
|
||||
return iSchCollectErrorLogService.edit(schCollectErrorLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchCollectErrorLogService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchCollectRecordApi;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectRecordDTO;
|
||||
import com.docus.server.service.ISchCollectRecordService;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectRecordVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集记录表 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchCollectRecordController implements SchCollectRecordApi {
|
||||
@Resource
|
||||
private ISchCollectRecordService iSchCollectRecordService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchCollectRecordVO findById(String id) {
|
||||
return iSchCollectRecordService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchCollectRecordVO> search(SearchRequest searchRequest) {
|
||||
return iSchCollectRecordService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectRecordDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchCollectRecordDTO schCollectRecordDTO) {
|
||||
return iSchCollectRecordService.add(schCollectRecordDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectRecordDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchCollectRecordDTO schCollectRecordDTO) {
|
||||
return iSchCollectRecordService.edit(schCollectRecordDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchCollectRecordService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchCollectRecordRetryLogApi;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectRecordRetryLogDTO;
|
||||
import com.docus.server.service.ISchCollectRecordRetryLogService;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectRecordRetryLogVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集记录表重试表 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchCollectRecordRetryLogController implements SchCollectRecordRetryLogApi {
|
||||
@Resource
|
||||
private ISchCollectRecordRetryLogService iSchCollectRecordRetryLogService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchCollectRecordRetryLogVO findById(String id) {
|
||||
return iSchCollectRecordRetryLogService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchCollectRecordRetryLogVO> search(SearchRequest searchRequest) {
|
||||
return iSchCollectRecordRetryLogService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectRecordRetryLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchCollectRecordRetryLogDTO schCollectRecordRetryLogDTO) {
|
||||
return iSchCollectRecordRetryLogService.add(schCollectRecordRetryLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectRecordRetryLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchCollectRecordRetryLogDTO schCollectRecordRetryLogDTO) {
|
||||
return iSchCollectRecordRetryLogService.edit(schCollectRecordRetryLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchCollectRecordRetryLogService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchCollectorConfigApi;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorConfigDTO;
|
||||
import com.docus.server.service.ISchCollectorConfigService;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorConfigVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器配置 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchCollectorConfigController implements SchCollectorConfigApi {
|
||||
@Resource
|
||||
private ISchCollectorConfigService iSchCollectorConfigService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchCollectorConfigVO findById(String id) {
|
||||
return iSchCollectorConfigService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchCollectorConfigVO> search(SearchRequest searchRequest) {
|
||||
return iSchCollectorConfigService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorConfigDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchCollectorConfigDTO schCollectorConfigDTO) {
|
||||
return iSchCollectorConfigService.add(schCollectorConfigDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorConfigDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchCollectorConfigDTO schCollectorConfigDTO) {
|
||||
return iSchCollectorConfigService.edit(schCollectorConfigDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchCollectorConfigService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchCollectorApi;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorDTO;
|
||||
import com.docus.server.service.ISchCollectorService;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器管理 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchCollectorController implements SchCollectorApi {
|
||||
@Resource
|
||||
private ISchCollectorService iSchCollectorService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchCollectorVO findById(String id) {
|
||||
return iSchCollectorService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchCollectorVO> search(SearchRequest searchRequest) {
|
||||
return iSchCollectorService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchCollectorDTO schCollectorDTO) {
|
||||
return iSchCollectorService.add(schCollectorDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchCollectorDTO schCollectorDTO) {
|
||||
return iSchCollectorService.edit(schCollectorDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchCollectorService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchCollectorVersionApi;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorVersionDTO;
|
||||
import com.docus.server.service.ISchCollectorVersionService;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorVersionVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本列表管理 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchCollectorVersionController implements SchCollectorVersionApi {
|
||||
@Resource
|
||||
private ISchCollectorVersionService iSchCollectorVersionService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchCollectorVersionVO findById(String id) {
|
||||
return iSchCollectorVersionService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchCollectorVersionVO> search(SearchRequest searchRequest) {
|
||||
return iSchCollectorVersionService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorVersionDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchCollectorVersionDTO schCollectorVersionDTO) {
|
||||
return iSchCollectorVersionService.add(schCollectorVersionDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorVersionDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchCollectorVersionDTO schCollectorVersionDTO) {
|
||||
return iSchCollectorVersionService.edit(schCollectorVersionDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchCollectorVersionService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchCollectorVersionFileApi;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorVersionFileDTO;
|
||||
import com.docus.server.service.ISchCollectorVersionFileService;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorVersionFileVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本列表更新包管理 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchCollectorVersionFileController implements SchCollectorVersionFileApi {
|
||||
@Resource
|
||||
private ISchCollectorVersionFileService iSchCollectorVersionFileService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchCollectorVersionFileVO findById(String id) {
|
||||
return iSchCollectorVersionFileService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchCollectorVersionFileVO> search(SearchRequest searchRequest) {
|
||||
return iSchCollectorVersionFileService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorVersionFileDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchCollectorVersionFileDTO schCollectorVersionFileDTO) {
|
||||
return iSchCollectorVersionFileService.add(schCollectorVersionFileDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorVersionFileDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchCollectorVersionFileDTO schCollectorVersionFileDTO) {
|
||||
return iSchCollectorVersionFileService.edit(schCollectorVersionFileDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchCollectorVersionFileService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchCollectorVersionLogApi;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorVersionLogDTO;
|
||||
import com.docus.server.service.ISchCollectorVersionLogService;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorVersionLogVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本更新日志管理 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchCollectorVersionLogController implements SchCollectorVersionLogApi {
|
||||
@Resource
|
||||
private ISchCollectorVersionLogService iSchCollectorVersionLogService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchCollectorVersionLogVO findById(String id) {
|
||||
return iSchCollectorVersionLogService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchCollectorVersionLogVO> search(SearchRequest searchRequest) {
|
||||
return iSchCollectorVersionLogService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorVersionLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchCollectorVersionLogDTO schCollectorVersionLogDTO) {
|
||||
return iSchCollectorVersionLogService.add(schCollectorVersionLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorVersionLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchCollectorVersionLogDTO schCollectorVersionLogDTO) {
|
||||
return iSchCollectorVersionLogService.edit(schCollectorVersionLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchCollectorVersionLogService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchOperationLogApi;
|
||||
import com.docus.server.dto.scheduling.management.SchOperationLogDTO;
|
||||
import com.docus.server.service.ISchOperationLogService;
|
||||
import com.docus.server.vo.scheduling.management.SchOperationLogVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集调度器操作日志 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchOperationLogController implements SchOperationLogApi {
|
||||
@Resource
|
||||
private ISchOperationLogService iSchOperationLogService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchOperationLogVO findById(String id) {
|
||||
return iSchOperationLogService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchOperationLogVO> search(SearchRequest searchRequest) {
|
||||
return iSchOperationLogService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schOperationLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchOperationLogDTO schOperationLogDTO) {
|
||||
return iSchOperationLogService.add(schOperationLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schOperationLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchOperationLogDTO schOperationLogDTO) {
|
||||
return iSchOperationLogService.edit(schOperationLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchOperationLogService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchSystemParamsApi;
|
||||
import com.docus.server.dto.scheduling.management.SchSystemParamsDTO;
|
||||
import com.docus.server.service.ISchSystemParamsService;
|
||||
import com.docus.server.vo.scheduling.management.SchSystemParamsVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 系统参数表 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchSystemParamsController implements SchSystemParamsApi {
|
||||
@Resource
|
||||
private ISchSystemParamsService iSchSystemParamsService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchSystemParamsVO findById(String id) {
|
||||
return iSchSystemParamsService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchSystemParamsVO> search(SearchRequest searchRequest) {
|
||||
return iSchSystemParamsService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schSystemParamsDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchSystemParamsDTO schSystemParamsDTO) {
|
||||
return iSchSystemParamsService.add(schSystemParamsDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schSystemParamsDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchSystemParamsDTO schSystemParamsDTO) {
|
||||
return iSchSystemParamsService.edit(schSystemParamsDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchSystemParamsService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchTerminatorApi;
|
||||
import com.docus.server.dto.scheduling.management.SchTerminatorDTO;
|
||||
import com.docus.server.service.ISchTerminatorService;
|
||||
import com.docus.server.vo.scheduling.management.SchTerminatorVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 执行管理器 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchTerminatorController implements SchTerminatorApi {
|
||||
@Resource
|
||||
private ISchTerminatorService iSchTerminatorService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchTerminatorVO findById(String id) {
|
||||
return iSchTerminatorService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchTerminatorVO> search(SearchRequest searchRequest) {
|
||||
return iSchTerminatorService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schTerminatorDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchTerminatorDTO schTerminatorDTO) {
|
||||
return iSchTerminatorService.add(schTerminatorDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schTerminatorDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchTerminatorDTO schTerminatorDTO) {
|
||||
return iSchTerminatorService.edit(schTerminatorDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchTerminatorService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,79 @@
|
||||
package com.docus.server.controller;
|
||||
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.api.scheduling.management.SchVirtualLogApi;
|
||||
import com.docus.server.dto.scheduling.management.SchVirtualLogDTO;
|
||||
import com.docus.server.service.ISchVirtualLogService;
|
||||
import com.docus.server.vo.scheduling.management.SchVirtualLogVO;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 虚拟机使用情况 控制器类
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@RestController
|
||||
public class SchVirtualLogController implements SchVirtualLogApi {
|
||||
@Resource
|
||||
private ISchVirtualLogService iSchVirtualLogService;
|
||||
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键Id
|
||||
* @return 实体
|
||||
*/
|
||||
@Override
|
||||
public SchVirtualLogVO findById(String id) {
|
||||
return iSchVirtualLogService.findById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
@Override
|
||||
public PageResult<SchVirtualLogVO> search(SearchRequest searchRequest) {
|
||||
return iSchVirtualLogService.search(searchRequest);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schVirtualLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean add(SchVirtualLogDTO schVirtualLogDTO) {
|
||||
return iSchVirtualLogService.add(schVirtualLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schVirtualLogDTO 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public boolean edit(SchVirtualLogDTO schVirtualLogDTO) {
|
||||
return iSchVirtualLogService.edit(schVirtualLogDTO);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
@Override
|
||||
public int delete(List<String> ids) {
|
||||
return iSchVirtualLogService.delete(ids);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectErrorLogDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectErrorLog;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectErrorLogVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器异常日志 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectErrorLogConvert {
|
||||
|
||||
SchCollectErrorLogConvert INSTANCE = Mappers.getMapper(SchCollectErrorLogConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectErrorLog convertDO(SchCollectErrorLogDTO schCollectErrorLogDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectErrorLog> convertDO(List<SchCollectErrorLogDTO> schCollectErrorLogDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectErrorLogVO convertVO(SchCollectErrorLog schCollectErrorLog);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectErrorLogVO> convertVO(List<SchCollectErrorLog> schCollectErrorLogList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchCollectErrorLogVO> convertVO(PageResult<SchCollectErrorLog> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectRecordDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectRecord;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectRecordVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集记录表 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectRecordConvert {
|
||||
|
||||
SchCollectRecordConvert INSTANCE = Mappers.getMapper(SchCollectRecordConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectRecord convertDO(SchCollectRecordDTO schCollectRecordDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectRecord> convertDO(List<SchCollectRecordDTO> schCollectRecordDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectRecordVO convertVO(SchCollectRecord schCollectRecord);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectRecordVO> convertVO(List<SchCollectRecord> schCollectRecordList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchCollectRecordVO> convertVO(PageResult<SchCollectRecord> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectRecordRetryLogDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectRecordRetryLog;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectRecordRetryLogVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集记录表重试表 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectRecordRetryLogConvert {
|
||||
|
||||
SchCollectRecordRetryLogConvert INSTANCE = Mappers.getMapper(SchCollectRecordRetryLogConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectRecordRetryLog convertDO(SchCollectRecordRetryLogDTO schCollectRecordRetryLogDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectRecordRetryLog> convertDO(List<SchCollectRecordRetryLogDTO> schCollectRecordRetryLogDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectRecordRetryLogVO convertVO(SchCollectRecordRetryLog schCollectRecordRetryLog);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectRecordRetryLogVO> convertVO(List<SchCollectRecordRetryLog> schCollectRecordRetryLogList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchCollectRecordRetryLogVO> convertVO(PageResult<SchCollectRecordRetryLog> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorConfigDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorConfig;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorConfigVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器配置 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorConfigConvert {
|
||||
|
||||
SchCollectorConfigConvert INSTANCE = Mappers.getMapper(SchCollectorConfigConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorConfig convertDO(SchCollectorConfigDTO schCollectorConfigDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorConfig> convertDO(List<SchCollectorConfigDTO> schCollectorConfigDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorConfigVO convertVO(SchCollectorConfig schCollectorConfig);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorConfigVO> convertVO(List<SchCollectorConfig> schCollectorConfigList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchCollectorConfigVO> convertVO(PageResult<SchCollectorConfig> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchCollector;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器管理 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorConvert {
|
||||
|
||||
SchCollectorConvert INSTANCE = Mappers.getMapper(SchCollectorConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchCollector convertDO(SchCollectorDTO schCollectorDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollector> convertDO(List<SchCollectorDTO> schCollectorDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorVO convertVO(SchCollector schCollector);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorVO> convertVO(List<SchCollector> schCollectorList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchCollectorVO> convertVO(PageResult<SchCollector> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorVersionDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersion;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorVersionVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本列表管理 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorVersionConvert {
|
||||
|
||||
SchCollectorVersionConvert INSTANCE = Mappers.getMapper(SchCollectorVersionConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorVersion convertDO(SchCollectorVersionDTO schCollectorVersionDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorVersion> convertDO(List<SchCollectorVersionDTO> schCollectorVersionDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorVersionVO convertVO(SchCollectorVersion schCollectorVersion);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorVersionVO> convertVO(List<SchCollectorVersion> schCollectorVersionList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchCollectorVersionVO> convertVO(PageResult<SchCollectorVersion> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorVersionFileDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersionFile;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorVersionFileVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本列表更新包管理 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorVersionFileConvert {
|
||||
|
||||
SchCollectorVersionFileConvert INSTANCE = Mappers.getMapper(SchCollectorVersionFileConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorVersionFile convertDO(SchCollectorVersionFileDTO schCollectorVersionFileDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorVersionFile> convertDO(List<SchCollectorVersionFileDTO> schCollectorVersionFileDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorVersionFileVO convertVO(SchCollectorVersionFile schCollectorVersionFile);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorVersionFileVO> convertVO(List<SchCollectorVersionFile> schCollectorVersionFileList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchCollectorVersionFileVO> convertVO(PageResult<SchCollectorVersionFile> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchCollectorVersionLogDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersionLog;
|
||||
import com.docus.server.vo.scheduling.management.SchCollectorVersionLogVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本更新日志管理 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorVersionLogConvert {
|
||||
|
||||
SchCollectorVersionLogConvert INSTANCE = Mappers.getMapper(SchCollectorVersionLogConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorVersionLog convertDO(SchCollectorVersionLogDTO schCollectorVersionLogDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorVersionLog> convertDO(List<SchCollectorVersionLogDTO> schCollectorVersionLogDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchCollectorVersionLogVO convertVO(SchCollectorVersionLog schCollectorVersionLog);
|
||||
|
||||
@Mappings({})
|
||||
List<SchCollectorVersionLogVO> convertVO(List<SchCollectorVersionLog> schCollectorVersionLogList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchCollectorVersionLogVO> convertVO(PageResult<SchCollectorVersionLog> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchOperationLogDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchOperationLog;
|
||||
import com.docus.server.vo.scheduling.management.SchOperationLogVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集调度器操作日志 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchOperationLogConvert {
|
||||
|
||||
SchOperationLogConvert INSTANCE = Mappers.getMapper(SchOperationLogConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchOperationLog convertDO(SchOperationLogDTO schOperationLogDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchOperationLog> convertDO(List<SchOperationLogDTO> schOperationLogDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchOperationLogVO convertVO(SchOperationLog schOperationLog);
|
||||
|
||||
@Mappings({})
|
||||
List<SchOperationLogVO> convertVO(List<SchOperationLog> schOperationLogList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchOperationLogVO> convertVO(PageResult<SchOperationLog> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchSystemParamsDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchSystemParams;
|
||||
import com.docus.server.vo.scheduling.management.SchSystemParamsVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 系统参数表 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchSystemParamsConvert {
|
||||
|
||||
SchSystemParamsConvert INSTANCE = Mappers.getMapper(SchSystemParamsConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchSystemParams convertDO(SchSystemParamsDTO schSystemParamsDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchSystemParams> convertDO(List<SchSystemParamsDTO> schSystemParamsDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchSystemParamsVO convertVO(SchSystemParams schSystemParams);
|
||||
|
||||
@Mappings({})
|
||||
List<SchSystemParamsVO> convertVO(List<SchSystemParams> schSystemParamsList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchSystemParamsVO> convertVO(PageResult<SchSystemParams> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchTerminatorDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchTerminator;
|
||||
import com.docus.server.vo.scheduling.management.SchTerminatorVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 执行管理器 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchTerminatorConvert {
|
||||
|
||||
SchTerminatorConvert INSTANCE = Mappers.getMapper(SchTerminatorConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchTerminator convertDO(SchTerminatorDTO schTerminatorDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchTerminator> convertDO(List<SchTerminatorDTO> schTerminatorDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchTerminatorVO convertVO(SchTerminator schTerminator);
|
||||
|
||||
@Mappings({})
|
||||
List<SchTerminatorVO> convertVO(List<SchTerminator> schTerminatorList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchTerminatorVO> convertVO(PageResult<SchTerminator> pageResult);
|
||||
}
|
||||
|
||||
@ -0,0 +1,39 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.dto.scheduling.management.SchVirtualLogDTO;
|
||||
import com.docus.server.entity.scheduling.management.SchVirtualLog;
|
||||
import com.docus.server.vo.scheduling.management.SchVirtualLogVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 虚拟机使用情况 服务转换器
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchVirtualLogConvert {
|
||||
|
||||
SchVirtualLogConvert INSTANCE = Mappers.getMapper(SchVirtualLogConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
SchVirtualLog convertDO(SchVirtualLogDTO schVirtualLogDTO);
|
||||
|
||||
@Mappings({})
|
||||
List<SchVirtualLog> convertDO(List<SchVirtualLogDTO> schVirtualLogDTOList);
|
||||
|
||||
@Mappings({})
|
||||
SchVirtualLogVO convertVO(SchVirtualLog schVirtualLog);
|
||||
|
||||
@Mappings({})
|
||||
List<SchVirtualLogVO> convertVO(List<SchVirtualLog> schVirtualLogList);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<SchVirtualLogVO> convertVO(PageResult<SchVirtualLog> pageResult);
|
||||
}
|
||||
|
||||
@ -1,40 +0,0 @@
|
||||
package com.docus.server.convert;
|
||||
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.TaskMessage;
|
||||
import com.docus.server.enums.CollectTypeEnum;
|
||||
import com.docus.server.enums.StateEnum;
|
||||
import com.docus.server.vo.TaskMessageVO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mappings;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
public interface TaskMessageConvert {
|
||||
|
||||
TaskMessageConvert INSTANCE = Mappers.getMapper(TaskMessageConvert.class);
|
||||
|
||||
@Mappings({})
|
||||
TaskMessageVO convert(TaskMessage taskMessage);
|
||||
|
||||
@Mappings({})
|
||||
List<TaskMessageVO> convert(List<TaskMessage> taskMessages);
|
||||
|
||||
@Mappings({})
|
||||
PageResult<TaskMessageVO> convert(PageResult<TaskMessage> pageResult);
|
||||
|
||||
default TaskMessage convert(String json, String xml, CollectTypeEnum collectType, String retryKey, Long id) {
|
||||
TaskMessage taskOriginalMessage = new TaskMessage();
|
||||
taskOriginalMessage.setId(id);
|
||||
taskOriginalMessage.setName(collectType.getDesc());
|
||||
taskOriginalMessage.setMemo(collectType.getDisplay());
|
||||
taskOriginalMessage.setCollectType(collectType);
|
||||
taskOriginalMessage.setRetryKey(retryKey);
|
||||
taskOriginalMessage.setJsonStr(json);
|
||||
taskOriginalMessage.setSource(xml);
|
||||
taskOriginalMessage.setState(StateEnum.OK);
|
||||
return taskOriginalMessage;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectErrorLog;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器异常日志 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchCollectErrorLogDao extends IBaseDao<SchCollectErrorLog> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchCollectErrorLog findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectErrorLog 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchCollectErrorLog schCollectErrorLog);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectErrorLog 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchCollectErrorLog schCollectErrorLog);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchCollectErrorLog> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectRecord;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集记录表 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchCollectRecordDao extends IBaseDao<SchCollectRecord> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchCollectRecord findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectRecord 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchCollectRecord schCollectRecord);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectRecord 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchCollectRecord schCollectRecord);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchCollectRecord> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectRecordRetryLog;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集记录表重试表 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchCollectRecordRetryLogDao extends IBaseDao<SchCollectRecordRetryLog> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchCollectRecordRetryLog findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectRecordRetryLog 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchCollectRecordRetryLog schCollectRecordRetryLog);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectRecordRetryLog 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchCollectRecordRetryLog schCollectRecordRetryLog);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchCollectRecordRetryLog> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorConfig;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器配置 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchCollectorConfigDao extends IBaseDao<SchCollectorConfig> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchCollectorConfig findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorConfig 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchCollectorConfig schCollectorConfig);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorConfig 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchCollectorConfig schCollectorConfig);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchCollectorConfig> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchCollector;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器管理 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchCollectorDao extends IBaseDao<SchCollector> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchCollector findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollector 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchCollector schCollector);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollector 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchCollector schCollector);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchCollector> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersion;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本列表管理 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchCollectorVersionDao extends IBaseDao<SchCollectorVersion> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchCollectorVersion findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorVersion 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchCollectorVersion schCollectorVersion);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorVersion 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchCollectorVersion schCollectorVersion);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchCollectorVersion> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersionFile;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本列表更新包管理 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchCollectorVersionFileDao extends IBaseDao<SchCollectorVersionFile> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchCollectorVersionFile findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorVersionFile 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchCollectorVersionFile schCollectorVersionFile);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorVersionFile 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchCollectorVersionFile schCollectorVersionFile);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchCollectorVersionFile> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersionLog;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集器版本更新日志管理 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchCollectorVersionLogDao extends IBaseDao<SchCollectorVersionLog> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchCollectorVersionLog findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schCollectorVersionLog 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchCollectorVersionLog schCollectorVersionLog);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schCollectorVersionLog 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchCollectorVersionLog schCollectorVersionLog);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchCollectorVersionLog> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchOperationLog;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 采集调度器操作日志 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchOperationLogDao extends IBaseDao<SchOperationLog> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchOperationLog findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schOperationLog 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchOperationLog schOperationLog);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schOperationLog 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchOperationLog schOperationLog);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchOperationLog> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchSystemParams;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 系统参数表 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchSystemParamsDao extends IBaseDao<SchSystemParams> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchSystemParams findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schSystemParams 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchSystemParams schSystemParams);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schSystemParams 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchSystemParams schSystemParams);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchSystemParams> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchTerminator;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 执行管理器 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchTerminatorDao extends IBaseDao<SchTerminator> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchTerminator findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schTerminator 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchTerminator schTerminator);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schTerminator 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchTerminator schTerminator);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchTerminator> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package com.docus.server.infrastructure.dao;
|
||||
|
||||
import com.docus.infrastructure.core.db.dao.IBaseDao;
|
||||
import com.docus.infrastructure.web.request.SearchRequest;
|
||||
import com.docus.infrastructure.web.response.PageResult;
|
||||
import com.docus.server.entity.scheduling.management.SchVirtualLog;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 虚拟机使用情况 数据访问接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
public interface ISchVirtualLogDao extends IBaseDao<SchVirtualLog> {
|
||||
/**
|
||||
* 按主键查询
|
||||
*
|
||||
* @param id 主键id
|
||||
* @return 实体
|
||||
*/
|
||||
SchVirtualLog findById(String id);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param schVirtualLog 新增参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean add(SchVirtualLog schVirtualLog);
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param schVirtualLog 编辑参数
|
||||
* @return 成功或失败
|
||||
*/
|
||||
boolean edit(SchVirtualLog schVirtualLog);
|
||||
|
||||
/**
|
||||
* 批量删除
|
||||
*
|
||||
* @param ids 主键ids
|
||||
* @return 成功或失败
|
||||
*/
|
||||
int delete(List<String> ids);
|
||||
|
||||
/**
|
||||
* 关键字搜素
|
||||
*
|
||||
* @param searchRequest 搜索参数
|
||||
* @return 分页列表
|
||||
*/
|
||||
PageResult<SchVirtualLog> search(SearchRequest searchRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchCollectErrorLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集器异常日志 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectErrorLogMapper extends BaseMapper<SchCollectErrorLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchCollectRecord;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集记录表 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectRecordMapper extends BaseMapper<SchCollectRecord> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchCollectRecordRetryLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集记录表重试表 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectRecordRetryLogMapper extends BaseMapper<SchCollectRecordRetryLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorConfig;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集器配置 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorConfigMapper extends BaseMapper<SchCollectorConfig> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchCollector;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集器管理 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorMapper extends BaseMapper<SchCollector> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersionFile;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集器版本列表更新包管理 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorVersionFileMapper extends BaseMapper<SchCollectorVersionFile> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersionLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集器版本更新日志管理 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorVersionLogMapper extends BaseMapper<SchCollectorVersionLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchCollectorVersion;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集器版本列表管理 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchCollectorVersionMapper extends BaseMapper<SchCollectorVersion> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchOperationLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 采集调度器操作日志 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchOperationLogMapper extends BaseMapper<SchOperationLog> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchSystemParams;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 系统参数表 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchSystemParamsMapper extends BaseMapper<SchSystemParams> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchTerminator;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 执行管理器 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchTerminatorMapper extends BaseMapper<SchTerminator> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.docus.server.infrastructure.mapper;
|
||||
|
||||
import com.docus.server.entity.scheduling.management.SchVirtualLog;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
*
|
||||
* 虚拟机使用情况 Mapper 接口
|
||||
*
|
||||
* @author AutoGenerator
|
||||
* @since 2023-07-14
|
||||
*/
|
||||
@Mapper
|
||||
public interface SchVirtualLogMapper extends BaseMapper<SchVirtualLog> {
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue