fix(接口测试): 修复批量编辑场景没有变更记录的缺陷
--bug=1038391 --user=王孝刚 【接口测试】场景-变更历史-批量编辑的变更未产生变更历史 https://www.tapd.cn/55049933/s/1491418
This commit is contained in:
parent
9f0e3728e6
commit
e2f5192b16
|
@ -35,7 +35,7 @@ public class ApiScenarioLogService {
|
|||
private ApiScenarioMapper apiScenarioMapper;
|
||||
|
||||
public void batchEditLog(List<ApiScenario> scenarioList, String operator, String projectId) {
|
||||
saveBatchLog(projectId, scenarioList, "/api/scenario/batch/edit", operator, OperationLogType.UPDATE.name(), false);
|
||||
saveBatchLog(projectId, scenarioList, "/api/scenario/batch/edit", operator, OperationLogType.UPDATE.name(), true);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -44,15 +44,18 @@
|
|||
width: 150,
|
||||
},
|
||||
{
|
||||
title: 'apiScenario.operationUser',
|
||||
title: 'mockManagement.operationUser',
|
||||
dataIndex: 'createUserName',
|
||||
showTooltip: true,
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
title: 'apiScenario.updateTime',
|
||||
dataIndex: 'updateTime',
|
||||
showTooltip: true,
|
||||
title: 'apiTestManagement.updateTime',
|
||||
dataIndex: 'createTime',
|
||||
sortable: {
|
||||
sortDirections: ['ascend', 'descend'],
|
||||
sorter: true,
|
||||
},
|
||||
width: 180,
|
||||
},
|
||||
// {
|
||||
|
@ -74,7 +77,7 @@
|
|||
(item) => ({
|
||||
...item,
|
||||
type: t(operationTypeOptions.find((e) => e.value === item.type)?.label || ''),
|
||||
updateTime: dayjs(item.updateTime).format('YYYY-MM-DD HH:mm:ss'),
|
||||
createTime: dayjs(item.createTime).format('YYYY-MM-DD HH:mm:ss'),
|
||||
})
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue