Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-app-report
Overview
Overview
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
Administrator
xzxt-app-report
Commits
ad36bc6d
Commit
ad36bc6d
authored
Nov 02, 2023
by
liulianglang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询修改
parent
003d521e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
src/main/java/org/springblade/founder/dzbl/mapper/TbStAppDzblMapper.xml
+12
-4
No files found.
src/main/java/org/springblade/founder/dzbl/mapper/TbStAppDzblMapper.xml
View file @
ad36bc6d
...
@@ -38,11 +38,15 @@
...
@@ -38,11 +38,15 @@
<if
test=
"dwdm != null and dwdm != ''"
>
<if
test=
"dwdm != null and dwdm != ''"
>
unitcode like CONCAT(#{dwdm,jdbcType=VARCHAR}, '%')
unitcode like CONCAT(#{dwdm,jdbcType=VARCHAR}, '%')
</if>
</if>
<if
test=
"dwList != null and dwList.size() > 0"
>
<if
test=
"dwList != null and dwList.size() > 0"
>
and unitcode in
and
<foreach
collection=
"dwList"
item=
"dw"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"dwList"
item=
"dws"
open=
"("
close=
")"
separator=
" or "
>
unitcode in
<foreach
collection=
"dws"
item=
"dw"
separator=
","
open=
"("
close=
")"
>
#{dw,jdbcType=VARCHAR}
#{dw,jdbcType=VARCHAR}
</foreach>
</foreach>
</foreach>
</if>
</if>
<if
test=
"xm != null and xm != ''"
>
<if
test=
"xm != null and xm != ''"
>
and true_name like CONCAT('%', #{xm,jdbcType=VARCHAR}, '%')
and true_name like CONCAT('%', #{xm,jdbcType=VARCHAR}, '%')
...
@@ -64,11 +68,15 @@
...
@@ -64,11 +68,15 @@
<if
test=
"dwdm != null and dwdm != ''"
>
<if
test=
"dwdm != null and dwdm != ''"
>
unitcode like CONCAT(#{dwdm,jdbcType=VARCHAR}, '%')
unitcode like CONCAT(#{dwdm,jdbcType=VARCHAR}, '%')
</if>
</if>
<if
test=
"dwList != null and dwList.size() > 0"
>
<if
test=
"dwList != null and dwList.size() > 0"
>
and unitcode in
and
<foreach
collection=
"dwList"
item=
"dw"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"dwList"
item=
"dws"
open=
"("
close=
")"
separator=
" or "
>
unitcode in
<foreach
collection=
"dws"
item=
"dw"
separator=
","
open=
"("
close=
")"
>
#{dw,jdbcType=VARCHAR}
#{dw,jdbcType=VARCHAR}
</foreach>
</foreach>
</foreach>
</if>
</if>
<if
test=
"xm != null and xm != ''"
>
<if
test=
"xm != null and xm != ''"
>
and true_name like CONCAT('%', #{xm,jdbcType=VARCHAR}, '%')
and true_name like CONCAT('%', #{xm,jdbcType=VARCHAR}, '%')
...
...
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