fix(用例管理): 修复用例关联文件后再继续关联文件时统计出错的问题
--bug=1036164 --user=宋天阳 【用例管理】功能用例,关联文件,文件数量显示错误 https://www.tapd.cn/55049933/s/1465543
This commit is contained in:
parent
51bb45d2df
commit
95586e1efa
|
@ -113,6 +113,8 @@
|
|||
functional_case.update_time,
|
||||
functional_case.review_status,
|
||||
functional_case.last_execute_result,
|
||||
functional_case.delete_user,
|
||||
functional_case.delete_time,
|
||||
functional_case.tags
|
||||
FROM
|
||||
functional_case
|
||||
|
|
|
@ -457,6 +457,7 @@ public class FileMetadataService {
|
|||
FileManagementQuery myFileCountDTO = new FileManagementQuery();
|
||||
myFileCountDTO.setProjectId(request.getProjectId());
|
||||
myFileCountDTO.setStorage(null);
|
||||
myFileCountDTO.setHiddenIds(pageDTO.getHiddenIds());
|
||||
long allCount = extFileMetadataMapper.fileCount(myFileCountDTO);
|
||||
myFileCountDTO.setOperator(operator);
|
||||
long myFileCount = extFileMetadataMapper.fileCount(myFileCountDTO);
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
projectId: appStore.currentProjectId,
|
||||
current: propsRes.value.msPagination?.current,
|
||||
pageSize: propsRes.value.msPagination?.pageSize,
|
||||
combine: combine.value,
|
||||
combine: { ...combine.value, ...props.getListFunParams.combine },
|
||||
storageItemCount: storageItemCount.value,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue