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
e127f546
Commit
e127f546
authored
Oct 18, 2021
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 2690 修改
parent
de89af45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
FireTeamController.java
...os/boot/module/jcs/biz/controller/FireTeamController.java
+17
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FireTeamController.java
View file @
e127f546
...
@@ -7,6 +7,8 @@ import java.util.Map;
...
@@ -7,6 +7,8 @@ import java.util.Map;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.PathVariable
;
...
@@ -243,6 +245,21 @@ public class FireTeamController extends BaseController {
...
@@ -243,6 +245,21 @@ public class FireTeamController extends BaseController {
List
<
FirefightersDto
>
fighters
=
iFireTeamService
.
getFighterByTeamId
(
teamIdList
);
List
<
FirefightersDto
>
fighters
=
iFireTeamService
.
getFighterByTeamId
(
teamIdList
);
return
ResponseHelper
.
buildResponse
(
fighters
);
return
ResponseHelper
.
buildResponse
(
fighters
);
}
}
/**
* 查询消防队伍下的人员
*
* @return
* @throws Exception
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{teamIds}/company"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询消防队伍所属单位"
,
notes
=
"查询消防队伍所属单位"
)
public
ResponseModel
<
FireTeam
>
listFighterCompany
(
@PathVariable
(
value
=
"teamIds"
)
String
teamIds
)
{
FireTeam
fireTeamBySequenceNbr
=
iFireTeamService
.
getFireTeamBySequenceNbr
(
Long
.
valueOf
(
teamIds
));
return
ResponseHelper
.
buildResponse
(
fireTeamBySequenceNbr
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/firstAid"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/firstAid"
,
method
=
RequestMethod
.
GET
)
...
...
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