Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
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
王飞
vehicle-quality-review
Commits
e42c0d72
Commit
e42c0d72
authored
Mar 08, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gaixiankang' into 'dev'
车企管理,列表第二页的排序不正确 See merge request
!149
parents
7a32a8b2
294f298e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
AutomobileEnterpriseMapper.xml
.../src/main/resources/mapper/AutomobileEnterpriseMapper.xml
+7
-6
No files found.
quality-review/src/main/resources/mapper/AutomobileEnterpriseMapper.xml
View file @
e42c0d72
...
...
@@ -53,17 +53,18 @@
resultMap=
"AutomobileEnterpriseResult"
>
<include
refid=
"selectAutomobileEnterpriseListSQL"
/>
<where>
deleted = 0
<if
test=
"enterpriseName != null and enterpriseName != ''"
>
and enterprise_name like concat('%',
ae.
deleted = 0
<if
test=
"enterpriseName != null and enterpriseName != ''"
>
and
ae.
enterprise_name like concat('%',
#{enterpriseName}, '%')
</if>
<if
test=
"address != null and address != ''"
>
and address like concat('%', #{address}, '%')
</if>
<if
test=
"postcode != null and postcode != ''"
>
and postcode like concat('%', #{postcode}, '%')
</if>
<if
test=
"address != null and address != ''"
>
and a
e.a
ddress like concat('%', #{address}, '%')
</if>
<if
test=
"postcode != null and postcode != ''"
>
and
ae.
postcode like concat('%', #{postcode}, '%')
</if>
<if
test=
"enterpriseContact != null and enterpriseContact != ''"
>
and enterprise_contact like concat('%', #{enterpriseContact}, '%')
and
ae.
enterprise_contact like concat('%', #{enterpriseContact}, '%')
</if>
<if
test=
"contactNumber != null and contactNumber != ''"
>
and contact_number like concat('%', #{contactNumber}, '%')
</if>
<if
test=
"contactNumber != null and contactNumber != ''"
>
and
ae.
contact_number like concat('%', #{contactNumber}, '%')
</if>
</where>
order by ae.create_time desc
</select>
<select
id=
"selectAutomobileEnterpriseById"
parameterType=
"Long"
resultMap=
"AutomobileEnterpriseResult"
>
...
...
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