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
5912bc13
Commit
5912bc13
authored
Sep 08, 2021
by
kongfm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消防队员列表按时间倒叙排列add desc 2021-09-08 by kongfm
parent
f42c41af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
FirefightersMapper.xml
...mmon-api/src/main/resources/mapper/FirefightersMapper.xml
+4
-4
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/FirefightersMapper.xml
View file @
5912bc13
...
...
@@ -9,7 +9,7 @@
where a.is_delete = 0
GROUP BY a.job_title_code
</select>
<!--消防队员列表按时间倒叙排列add desc 2021-09-08 by kongfm -->
<select
id=
"getFirefighters"
resultType=
"com.yeejoin.amos.boot.module.common.api.dto.FirefightersZhDto"
>
select a.*,b.areas_expertise areasExpertise ,b.areas_expertise_code areasExpertiseCode from cb_firefighters a LEFT JOIN cb_firefighters_post b on
...
...
@@ -22,9 +22,9 @@
<if
test=
'par.jobTitle!=null'
>
and a.job_title_code =#{par.jobTitle}
</if>
<if
test=
'par.areasExpertiseCode!=null and par.areasExpertiseCode!="0"'
>
and b.areas_expertise_code =#{par.areasExpertiseCode}
</if>
<if
test=
'par.areasExpertiseCode=="0"'
>
and b.areas_expertise_code is not null
</if>
ORDER BY a.rec_date limit #{pageNum},#{pageSize}
ORDER BY a.rec_date
desc
limit #{pageNum},#{pageSize}
</select>
<!--消防队员列表按时间倒叙排列add desc 2021-09-08 by kongfm -->
<select
id=
"getFirefightersCount"
resultType=
"Map"
>
select COUNT(a.sequence_nbr) num from cb_firefighters a LEFT JOIN
cb_firefighters_post b on a.sequence_nbr=b.firefighters_id where
...
...
@@ -38,7 +38,7 @@
<if
test=
'par.areasExpertiseCode!=null and par.areasExpertiseCode!="0"'
>
and b.areas_expertise_code =#{par.areasExpertiseCode}
</if>
<if
test=
'par.areasExpertiseCode=="0"'
>
and b.areas_expertise_code is not null
</if>
ORDER BY a.rec_date
ORDER BY a.rec_date
desc
</select>
...
...
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