Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Q
queueForTicket_bl
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
mengmeng
queueForTicket_bl
Commits
ea2cab3f
Commit
ea2cab3f
authored
3 years ago
by
Shen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 更新线上环境
2. 更新线上 RPC 注册接口调用参数方式
parent
99709fe5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
AppointmentOrderController.java
...es/appointment/controller/AppointmentOrderController.java
+7
-6
No files found.
hmit-api/src/main/java/io/hmit/modules/appointment/controller/AppointmentOrderController.java
View file @
ea2cab3f
...
...
@@ -83,9 +83,9 @@ public class AppointmentOrderController {
}
@Login
@GetMapping
(
"
{id}
"
)
@GetMapping
(
"
getDetail
"
)
@ApiOperation
(
"信息,预约详情接口"
)
public
Result
<
AppointmentOrderDTO
>
get
(
@
PathVariable
(
"id"
)
Long
id
){
public
Result
<
AppointmentOrderDTO
>
get
(
@
RequestParam
(
"id"
)
Long
id
){
AppointmentOrderDTO
data
=
appointmentOrderService
.
get
(
id
);
if
(
null
!=
data
.
getStatus
()
&&
Constant
.
ReservationStatus
.
GET_NUM
.
getValue
()<=
data
.
getStatus
()
)
{
data
.
setYynumberDTO
(
appointmentOrderService
.
findByYuNumber
(
data
.
getAppointmentNum
()));
...
...
@@ -169,9 +169,10 @@ public class AppointmentOrderController {
}
@Login
@GetMapping
(
"/deleteOverNum
/{id}
"
)
@GetMapping
(
"/deleteOverNum"
)
@ApiOperation
(
"消除过号"
)
public
Result
deleteOverNum
(
@PathVariable
(
"id"
)
Long
id
,
@ApiIgnore
@LoginUser
UserEntity
user
){
public
Result
deleteOverNum
(
@RequestParam
(
"id"
)
Long
id
,
@ApiIgnore
@LoginUser
UserEntity
user
){
AppointmentOrderDTO
data
=
appointmentOrderService
.
get
(
id
);
data
.
setStatus
(
Constant
.
ReservationStatus
.
ELIMINATE_INVALID_NUM
.
getValue
());
...
...
@@ -183,9 +184,9 @@ public class AppointmentOrderController {
return
new
Result
();
}
@GetMapping
(
value
=
"/signin
/{appointmentOrderId}
"
)
@GetMapping
(
value
=
"/signin"
)
@ApiOperation
(
"签到"
)
public
Result
signin
(
@
PathVariable
(
value
=
"appointmentOrderI
d"
)
Long
appointmentOrderId
){
public
Result
signin
(
@
RequestParam
(
"i
d"
)
Long
appointmentOrderId
){
//根据appointmentOrderId获取到订单实体
AppointmentOrderDTO
appointmentOrderDTO
=
appointmentOrderService
.
get
(
appointmentOrderId
);
...
...
This diff is collapsed.
Click to expand it.
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