Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yichengstreet-be
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
yichengstreet
yichengstreet-be
Commits
8bd6e1bd
Commit
8bd6e1bd
authored
Mar 06, 2025
by
luben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5b8c2cfa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
LabelsFacadeService.java
...a/com/ruoyi/system/service/other/LabelsFacadeService.java
+3
-0
LabelsMapper.xml
...i-system/src/main/resources/mapper/other/LabelsMapper.xml
+6
-0
No files found.
ruoyi-system/src/main/java/com/ruoyi/system/service/other/LabelsFacadeService.java
View file @
8bd6e1bd
...
...
@@ -214,6 +214,9 @@ public class LabelsFacadeService {
List
<
Map
<
String
,
Object
>>
res
=
new
ArrayList
<>();
for
(
Map
<
String
,
Object
>
map
:
jsTreeModels
)
{
String
scope
=
(
String
)
map
.
get
(
"scope"
);
if
(
scope
==
null
){
continue
;
}
if
(
scope
.
contains
(
bsCommonVO
.
getScope
())){
res
.
add
(
map
);
}
...
...
ruoyi-system/src/main/resources/mapper/other/LabelsMapper.xml
View file @
8bd6e1bd
...
...
@@ -167,6 +167,9 @@
<if
test=
"ylzd5 != null"
>
ylzd5,
</if>
<if
test=
"scope != null"
>
scope,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"id != null"
>
...
...
@@ -205,6 +208,9 @@
<if
test=
"ylzd5 != null"
>
#{ylzd5,jdbcType=VARCHAR},
</if>
<if
test=
"scope != null"
>
#{scope,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"com.ruoyi.system.domain.other.BsCommonExample"
resultType=
"java.lang.Long"
>
...
...
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