Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
2af09a5c
Commit
2af09a5c
authored
Jun 23, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化-fxj
parent
23242aa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
TAutoMainRelServiceImpl.java
...1/yifu/archives/service/impl/TAutoMainRelServiceImpl.java
+2
-3
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TAutoMainRelServiceImpl.java
View file @
2af09a5c
...
...
@@ -465,7 +465,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
}
}
if
(
checkContractSchemeForDuplicates
(
contractSchemes
)){
return
R
.
failed
(
buyStandard
Repeat
);
return
R
.
failed
(
schemeName
Repeat
);
}
}
return
null
;
...
...
@@ -515,7 +515,7 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
Set
<
String
>
repeatItems
=
new
HashSet
<>();
for
(
SysAutoDictItem
item
:
autoDictItems
)
{
if
(
Common
.
isEmpty
(
item
.
getLabel
()))
{
return
fals
e
;
// 标签为空视为无效
return
tru
e
;
// 标签为空视为无效
}
if
(!
repeatItems
.
add
(
item
.
getLabel
()))
{
return
false
;
// 标签重复
...
...
@@ -708,7 +708,6 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
//保存商险购买标准
if
(
Common
.
isNotNull
(
schemes
)){
for
(
TAutoContractScheme
scheme:
schemes
){
scheme
.
setId
(
null
);
if
(!
Common
.
isNotNull
(
scheme
.
getId
())){
schemeFlag
=
true
;
}
...
...
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