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
76e7db4f
Commit
76e7db4f
authored
Sep 26, 2024
by
“KEVIN”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改根据sequenceNbr查询接口
parent
e31c7b4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
YsEmergencyCaseController.java
...t/module/ys/biz/controller/YsEmergencyCaseController.java
+8
-3
No files found.
amos-boot-system-tzs/amos-boot-module-ys/amos-boot-module-ys-biz/src/main/java/com/yeejoin/amos/boot/module/ys/biz/controller/YsEmergencyCaseController.java
View file @
76e7db4f
...
...
@@ -3,6 +3,8 @@ package com.yeejoin.amos.boot.module.ys.biz.controller;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.ys.api.dto.YsEmergencyCaseDto
;
import
com.yeejoin.amos.boot.module.ys.api.dto.YsEmergencyExpertsDto
;
import
com.yeejoin.amos.boot.module.ys.api.service.IYsEmergencyExpertsService
;
import
com.yeejoin.amos.boot.module.ys.biz.service.impl.YsEmergencyCaseServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -26,6 +28,9 @@ import java.util.List;
@RequestMapping
(
value
=
"/ys-emergency-case"
)
public
class
YsEmergencyCaseController
extends
BaseController
{
@Autowired
private
IYsEmergencyExpertsService
iYsEmergencyExpertsService
;
@Autowired
YsEmergencyCaseServiceImpl
ysEmergencyCaseServiceImpl
;
...
...
@@ -76,10 +81,10 @@ public class YsEmergencyCaseController extends BaseController {
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/
{sequenceNbr}
"
)
@GetMapping
(
value
=
"/
detail
"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个"
,
notes
=
"根据sequenceNbr查询单个"
)
public
ResponseModel
<
YsEmergency
CaseDto
>
selectOne
(
@PathVariable
Lo
ng
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
ysEmergencyCaseServiceImpl
.
queryBySeq
(
sequenceNbr
));
public
ResponseModel
<
YsEmergency
ExpertsDto
>
selectOne
(
@RequestParam
Stri
ng
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
iYsEmergencyExpertsService
.
queryBySequenceNbr
(
sequenceNbr
));
}
/**
...
...
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