Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
3291ded1
Commit
3291ded1
authored
Apr 23, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加模糊匹配
parent
086dd6f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
PersonBasicMapper.xml
...jxiop-api/src/main/resources/mapper/PersonBasicMapper.xml
+6
-6
StationBasicMapper.xml
...xiop-api/src/main/resources/mapper/StationBasicMapper.xml
+4
-4
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/PersonBasicMapper.xml
View file @
3291ded1
...
@@ -23,13 +23,13 @@
...
@@ -23,13 +23,13 @@
<where>
<where>
person_basic.is_delete=0
person_basic.is_delete=0
<if
test=
"name != null and name != ''"
>
<if
test=
"name != null and name != ''"
>
AND person_basic.name like concat(#{name},'%')
AND person_basic.name like concat(
'%',
#{name},'%')
</if>
</if>
<if
test=
"accountName != null and accountName != ''"
>
<if
test=
"accountName != null and accountName != ''"
>
AND person_account.account_name like concat(#{accountName},'%')
AND person_account.account_name like concat(
'%',
#{accountName},'%')
</if>
</if>
<if
test=
"projectName != null and projectName != ''"
>
<if
test=
"projectName != null and projectName != ''"
>
AND person_ascription.project_name like concat(#{projectName},'%')
AND person_ascription.project_name like concat(
'%',
#{projectName},'%')
</if>
</if>
</where>
</where>
ORDER BY person_basic.rec_date DESC
ORDER BY person_basic.rec_date DESC
...
@@ -48,13 +48,13 @@
...
@@ -48,13 +48,13 @@
<where>
<where>
person_basic.is_delete=0
person_basic.is_delete=0
<if
test=
"name != null and name != ''"
>
<if
test=
"name != null and name != ''"
>
AND person_basic.name like concat(#{name},'%')
AND person_basic.name like concat(
'%',
#{name},'%')
</if>
</if>
<if
test=
"accountName != null and accountName != ''"
>
<if
test=
"accountName != null and accountName != ''"
>
AND person_account.account_name like concat(#{accountName},'%')
AND person_account.account_name like concat(
'%',
#{accountName},'%')
</if>
</if>
<if
test=
"projectName != null and projectName != ''"
>
<if
test=
"projectName != null and projectName != ''"
>
AND person_ascription.project_name like concat(#{projectName},'%')
AND person_ascription.project_name like concat(
'%',
#{projectName},'%')
</if>
</if>
</where>
</where>
</select>
</select>
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/StationBasicMapper.xml
View file @
3291ded1
...
@@ -18,10 +18,10 @@
...
@@ -18,10 +18,10 @@
<where>
<where>
is_delete=0
is_delete=0
<if
test=
"stationMasterName != null and stationMasterName != ''"
>
<if
test=
"stationMasterName != null and stationMasterName != ''"
>
AND station_basic.station_master_name like concat(#{stationMasterName},'%')
AND station_basic.station_master_name like concat(
'%',
#{stationMasterName},'%')
</if>
</if>
<if
test=
"stationName != null and stationName != ''"
>
<if
test=
"stationName != null and stationName != ''"
>
AND station_basic.station_name like concat(#{stationName},'%')
AND station_basic.station_name like concat(
'%',
#{stationName},'%')
</if>
</if>
<if
test=
"stationType != null and stationType != ''"
>
<if
test=
"stationType != null and stationType != ''"
>
AND station_basic.station_type = #{stationType}
AND station_basic.station_type = #{stationType}
...
@@ -39,10 +39,10 @@
...
@@ -39,10 +39,10 @@
<where>
<where>
is_delete=0
is_delete=0
<if
test=
"stationMasterName != null and stationMasterName != ''"
>
<if
test=
"stationMasterName != null and stationMasterName != ''"
>
AND station_basic.station_master_name like concat(#{stationMasterName},'%')
AND station_basic.station_master_name like concat(
'%',
#{stationMasterName},'%')
</if>
</if>
<if
test=
"stationName != null and stationName != ''"
>
<if
test=
"stationName != null and stationName != ''"
>
AND station_basic.station_name like concat(#{stationName},'%')
AND station_basic.station_name like concat(
'%',
#{stationName},'%')
</if>
</if>
<if
test=
"stationType != null and stationType != ''"
>
<if
test=
"stationType != null and stationType != ''"
>
AND station_basic.station_type = #{stationType}
AND station_basic.station_type = #{stationType}
...
...
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