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
1d1afc32
Commit
1d1afc32
authored
Mar 08, 2024
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug(70445) - 车企管理,列表第二页的排序不正确
parent
2009a18e
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 @
1d1afc32
...
@@ -53,17 +53,18 @@
...
@@ -53,17 +53,18 @@
resultMap=
"AutomobileEnterpriseResult"
>
resultMap=
"AutomobileEnterpriseResult"
>
<include
refid=
"selectAutomobileEnterpriseListSQL"
/>
<include
refid=
"selectAutomobileEnterpriseListSQL"
/>
<where>
<where>
deleted = 0
ae.
deleted = 0
<if
test=
"enterpriseName != null and enterpriseName != ''"
>
and enterprise_name like concat('%',
<if
test=
"enterpriseName != null and enterpriseName != ''"
>
and
ae.
enterprise_name like concat('%',
#{enterpriseName}, '%')
#{enterpriseName}, '%')
</if>
</if>
<if
test=
"address != null and address != ''"
>
and address like concat('%', #{address}, '%')
</if>
<if
test=
"address != null and address != ''"
>
and a
e.a
ddress like concat('%', #{address}, '%')
</if>
<if
test=
"postcode != null and postcode != ''"
>
and postcode like concat('%', #{postcode}, '%')
</if>
<if
test=
"postcode != null and postcode != ''"
>
and
ae.
postcode like concat('%', #{postcode}, '%')
</if>
<if
test=
"enterpriseContact != null and enterpriseContact != ''"
>
<if
test=
"enterpriseContact != null and enterpriseContact != ''"
>
and enterprise_contact like concat('%', #{enterpriseContact}, '%')
and
ae.
enterprise_contact like concat('%', #{enterpriseContact}, '%')
</if>
</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>
</where>
order by ae.create_time desc
</select>
</select>
<select
id=
"selectAutomobileEnterpriseById"
parameterType=
"Long"
resultMap=
"AutomobileEnterpriseResult"
>
<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