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
1afe21cd
Commit
1afe21cd
authored
Nov 29, 2021
by
chenhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交获取所有消防人员方法的额修改
parent
49c4b9d7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
FirefightersServiceImpl.java
...dule/common/biz/service/impl/FirefightersServiceImpl.java
+3
-1
FirefightersController.java
...oot/module/jcs/biz/controller/FirefightersController.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/FirefightersServiceImpl.java
View file @
1afe21cd
...
...
@@ -174,7 +174,9 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi
if
(
StringUtils
.
isNotBlank
(
jobCode
))
{
wrapper
.
eq
(
Firefighters:
:
getJobTitleCode
,
jobCode
);
}
wrapper
.
last
(
"limit "
+
current
+
","
+
size
);
if
(
current
!=
0
)
{
wrapper
.
last
(
"limit "
+
current
+
","
+
size
);
}
return
this
.
baseMapper
.
selectMaps
(
wrapper
);
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersController.java
View file @
1afe21cd
...
...
@@ -334,7 +334,7 @@ public class FirefightersController extends BaseController {
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/all/fire/person"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"所有的消防人员"
,
notes
=
"所有的消防人员"
)
public
ResponseModel
<
Object
>
getAllFirefightersPerson
(
@RequestParam
int
size
,
@RequestParam
int
current
,
@RequestParam
(
required
=
false
)
String
jobCode
)
throws
Exception
{
public
ResponseModel
<
Object
>
getAllFirefightersPerson
(
@RequestParam
int
size
,
@RequestParam
int
current
,
@RequestParam
String
jobCode
)
throws
Exception
{
return
ResponseHelper
.
buildResponse
(
iFirefightersService
.
getAllFirefightersPerson
(
size
,
current
,
jobCode
));
}
}
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