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
12af57f8
Commit
12af57f8
authored
Mar 24, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目规则配置-fxj
parent
f653e429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
TAutoMainRelServiceImpl.java
...1/yifu/archives/service/impl/TAutoMainRelServiceImpl.java
+6
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TAutoMainRelServiceImpl.java
View file @
12af57f8
...
...
@@ -403,6 +403,9 @@ public class TAutoMainRelServiceImpl extends ServiceImpl<TAutoMainRelMapper, TAu
//数据库中查询的字典 页面已经改了 不在作为重复结果集
for
(
SysAutoDictItem
item:
oldAutoDictItems
){
for
(
SysAutoDictItem
item1:
autoDictItems
){
if
(
Common
.
isNotNull
(
item1
.
getId
())
&&
CommonConstants
.
ONE_STRING
.
equals
(
item1
.
getDisable
())){
repeatItems
.
remove
(
item1
.
getLabel
());
}
if
(
Common
.
isNotNull
(
item1
.
getId
())
&&
item
.
getId
().
equals
(
item1
.
getId
())
&&
!
item1
.
getLabel
().
equals
(
item
.
getLabel
())){
...
...
@@ -480,7 +483,9 @@ private R<Boolean> checkItemRepeat(List<SysAutoDictItem> autoDictItems, Map<Stri
}
for
(
SysAutoDictItem
item
:
autoDictItems
)
{
if
(
Common
.
isEmpty
(
item
)
||
Common
.
isEmpty
(
item
.
getLabel
()))
{
if
(
Common
.
isEmpty
(
item
)
||
Common
.
isEmpty
(
item
.
getLabel
())
||
CommonConstants
.
ONE_STRING
.
equals
(
item
.
getDisable
()))
{
continue
;
// 跳过无效的 item
}
...
...
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