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
7ef6af5a
Commit
7ef6af5a
authored
Mar 06, 2024
by
施翔轲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时任务修改项目解析状态fix bug
parent
1fa13cdf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
CbProjectRecordServiceImpl.java
...om/dsk/cscec/service/impl/CbProjectRecordServiceImpl.java
+5
-1
No files found.
dsk-module/dsk-biz-api/src/main/java/com/dsk/cscec/service/impl/CbProjectRecordServiceImpl.java
View file @
7ef6af5a
...
...
@@ -473,11 +473,15 @@ public class CbProjectRecordServiceImpl extends ServiceImpl<CbProjectRecordMappe
}
}
//所有文件遍历完后,如果存在解析失败的文件,则项目的解析状态改为解析失败
//所有文件遍历完后,如果存在解析失败的文件,则项目的解析状态改为解析失败
,否则改为解析成功
if
(
failNum
>
0
)
{
log
.
info
(
"项目台账列表:ID为"
+
projectRecord
.
getId
()
+
"的项目解析失败"
);
projectRecord
.
setProjectFileStatus
(
CbProjectConstants
.
PROJECT_FILE_STATUS_PARSE_FAIL
);
baseMapper
.
updateById
(
projectRecord
);
}
else
{
log
.
info
(
"项目台账列表:ID为"
+
projectRecord
.
getId
()
+
"的项目解析成功"
);
projectRecord
.
setProjectFileStatus
(
CbProjectConstants
.
PROJECT_FILE_STATUS_PARSE_SUCCESS
);
baseMapper
.
updateById
(
projectRecord
);
}
}
}
...
...
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