Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-api
Project
Project
Details
Activity
Releases
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
中汽研标准应用数据库
car-database-api
Commits
86593b5c
Commit
86593b5c
authored
Sep 17, 2024
by
宋源硕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'songyuanshuo' into 'master'
1./review/scene/change/task/add修改判断逻辑 See merge request
!18
parents
e1faae39
06ebf8f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ReviewSceneChangeTaskServiceImpl.java
.../ruoyi/service/impl/ReviewSceneChangeTaskServiceImpl.java
+1
-1
No files found.
quality-review/src/main/java/com/ruoyi/service/impl/ReviewSceneChangeTaskServiceImpl.java
View file @
86593b5c
...
...
@@ -111,7 +111,7 @@ public class ReviewSceneChangeTaskServiceImpl extends ServiceImpl<ReviewSceneCha
//先判断用例编号是否有
for
(
SerialNumberResponse
serialNumberResponse
:
list
){
if
(
Objects
.
equals
(
serialNumberResponse
.
getSerialNumber
(),
reviewSceneChangeTask
.
getUsecaseId
())){
if
(!
Objects
.
equals
(
serialNumberResponse
.
get
SerialNumber
(),
reviewSceneChangeTask
.
getReviewUsecaseId
())){
if
(!
Objects
.
equals
(
serialNumberResponse
.
get
Id
(),
reviewSceneChangeTask
.
getReviewUsecaseId
())){
throw
new
ServiceException
(
"当前用例编号对象已存在"
,
HttpStatus
.
ERROR
);
}
}
...
...
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