Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fulixin
dsk-operate-sys-cscec
Commits
5ad270ad
Commit
5ad270ad
authored
Feb 27, 2024
by
lcl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
u
parent
0a8d6205
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
DataAnalysisComponent.java
...rc/main/java/com/dsk/component/DataAnalysisComponent.java
+5
-5
CbProjectFileMapper.xml
...i/src/main/resources/mapper/cscec/CbProjectFileMapper.xml
+1
-1
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/component/DataAnalysisComponent.java
View file @
5ad270ad
...
...
@@ -54,7 +54,7 @@ public class DataAnalysisComponent {
if
(
ObjectUtils
.
isEmpty
(
fileList
))
return
;
//文件处理
for
(
CbProjectFile
file
:
fileList
)
{
if
(
file
.
getDelFlag
()
==
0
)
{
//
if (file.getDelFlag() == 0) {
//文件下载
InputStream
inputStream
=
ossService
.
downFileIO
(
file
.
getFileOssId
());
...
...
@@ -115,10 +115,10 @@ public class DataAnalysisComponent {
}
return
Boolean
.
TRUE
;
});
}
else
{
quantitySummaryService
.
remove
(
Wrappers
.<
CbQuantitySummary
>
lambdaQuery
().
eq
(
CbQuantitySummary:
:
getCbProjectFileId
,
file
.
getId
()));
projectFileService
.
removeById
(
file
);
}
//
} else {
//
quantitySummaryService.remove(Wrappers.<CbQuantitySummary>lambdaQuery().eq(CbQuantitySummary::getCbProjectFileId, file.getId()));
//
projectFileService.removeById(file);
//
}
}
}
}
dsk-module/dsk-biz-api/src/main/resources/mapper/cscec/CbProjectFileMapper.xml
View file @
5ad270ad
...
...
@@ -6,7 +6,7 @@
id, project_id, cb_stage, cb_type, file_name, file_oss_id, file_oss_url, file_parse_status, fail_remark,
del_flag, create_by, create_time, update_by, update_time
FROM cb_project_file
WHERE (
(del_flag = 0 and file_parse_status in (1,3)) or del_flag = 1
)
WHERE (
del_flag = 0 and file_parse_status in (1,3
)
and project_id=#{projectId}
<if
test=
"cbStage != null"
>
and cb_stage =#{cbStage}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment