@Service public class DbBuildHistoryLogService extends BaseWorkspaceService<BuildHistoryLog>
key, tableName, tClass
Constructor and Description |
---|
DbBuildHistoryLogService(BuildInfoService buildService,
BuildExtConfig buildExtConfig) |
Modifier and Type | Method and Description |
---|---|
protected String[] |
clearTimeColumns()
安装时间自动清理数据对字段
|
cn.jiangzeyin.common.JsonMessage<String> |
deleteLogAndFile(BuildHistoryLog buildHistoryLog)
清理文件并删除记录
|
cn.jiangzeyin.common.JsonMessage<String> |
deleteLogAndFile(String logId)
清理文件并删除记录
|
protected void |
executeClearImpl(int count)
清理分发实现
|
void |
insert(BuildHistoryLog buildHistoryLog)
插入数据
|
void |
updateResultDirFile(String logId,
String resultDirFile)
更新状态
|
checkUserWorkspace, checkUserWorkspace, defaultOrders, delByKey, delByWorkspace, fillInsert, getByKey, getByKey, getCheckUserWorkspace, getWorkspaceId, listById, listByWorkspace, listPage, sortMoveDown, sortMoveUp, sortToTop, updateById
autoClear, autoLoopClear, count, count, covetTableName, getData, getLastTimeValue, insert, insertNotFill, list, listById, listById, listPage, listPage, parsePage, update, updateById, updateById, upsert
count, count, dataBeanToEntity, del, delByKey, delByKey, entityToBean, entityToBean, entityToBeanList, execute, exists, exists, fillSelectResult, findByCondition, getByKey, getByKey, getByKey, getKey, getTableName, insert, listByBean, listByEntity, listPageOnlyResult, query, query, queryByBean, queryList, queryList, queryList, update, warpException
public DbBuildHistoryLogService(BuildInfoService buildService, BuildExtConfig buildExtConfig)
public void updateResultDirFile(String logId, String resultDirFile)
logId
- 记录idresultDirFile
- 构建产物目录public cn.jiangzeyin.common.JsonMessage<String> deleteLogAndFile(String logId)
logId
- 记录idpublic cn.jiangzeyin.common.JsonMessage<String> deleteLogAndFile(BuildHistoryLog buildHistoryLog)
buildHistoryLog
- 构建记录public void insert(BuildHistoryLog buildHistoryLog)
BaseDbCommonService
insert
in class BaseDbService<BuildHistoryLog>
buildHistoryLog
- 数据protected void executeClearImpl(int count)
BaseDbService
executeClearImpl
in class BaseDbService<BuildHistoryLog>
count
- 保留数量protected String[] clearTimeColumns()
BaseDbService
clearTimeColumns
in class BaseDbService<BuildHistoryLog>
Copyright © 2017–2022. All rights reserved.