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
dd2e5ca5
Commit
dd2e5ca5
authored
Mar 18, 2021
by
lings
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
浙里办20210318浙里办登陆
parent
43149cf1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
AppointmentOrderController.java
...es/appointment/controller/AppointmentOrderController.java
+2
-1
AppointmentOrderServiceImpl.java
...appointment/service/impl/AppointmentOrderServiceImpl.java
+1
-0
No files found.
hmit-api/src/main/java/io/hmit/modules/appointment/controller/AppointmentOrderController.java
View file @
dd2e5ca5
...
@@ -61,7 +61,8 @@ public class AppointmentOrderController {
...
@@ -61,7 +61,8 @@ public class AppointmentOrderController {
@ApiImplicitParam
(
name
=
Constant
.
ORDER
,
value
=
"排序方式,可选值(asc、desc)"
,
paramType
=
"query"
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
Constant
.
ORDER
,
value
=
"排序方式,可选值(asc、desc)"
,
paramType
=
"query"
,
dataType
=
"String"
),
@ApiImplicitParam
(
name
=
"flag"
,
value
=
"预约或取号,预约传Y,取号传Q"
,
paramType
=
"query"
,
dataType
=
"String"
)
@ApiImplicitParam
(
name
=
"flag"
,
value
=
"预约或取号,预约传Y,取号传Q"
,
paramType
=
"query"
,
dataType
=
"String"
)
})
})
public
Result
<
PageData
<
AppointmentOrderDTO
>>
page
(
@ApiIgnore
@RequestParam
Map
<
String
,
Object
>
params
){
public
Result
<
PageData
<
AppointmentOrderDTO
>>
page
(
@LoginUser
UserEntity
user
,
@ApiIgnore
@RequestParam
Map
<
String
,
Object
>
params
){
params
.
put
(
"userdId"
,
user
.
getId
());
PageData
<
AppointmentOrderDTO
>
page
=
appointmentOrderService
.
page
(
params
);
PageData
<
AppointmentOrderDTO
>
page
=
appointmentOrderService
.
page
(
params
);
page
.
getList
().
forEach
(
l
->{
page
.
getList
().
forEach
(
l
->{
//判断已取号或者消除过号
//判断已取号或者消除过号
...
...
hmit-api/src/main/java/io/hmit/modules/appointment/service/impl/AppointmentOrderServiceImpl.java
View file @
dd2e5ca5
...
@@ -56,6 +56,7 @@ public class AppointmentOrderServiceImpl extends CrudServiceImpl<AppointmentOrde
...
@@ -56,6 +56,7 @@ public class AppointmentOrderServiceImpl extends CrudServiceImpl<AppointmentOrde
@Override
@Override
public
QueryWrapper
<
AppointmentOrderEntity
>
getWrapper
(
Map
<
String
,
Object
>
params
){
public
QueryWrapper
<
AppointmentOrderEntity
>
getWrapper
(
Map
<
String
,
Object
>
params
){
String
id
=
(
String
)
params
.
get
(
"id"
);
String
id
=
(
String
)
params
.
get
(
"id"
);
String
userId
=
(
String
)
params
.
get
(
"userId"
);
String
flag
=
(
String
)
params
.
get
(
"flag"
);
String
flag
=
(
String
)
params
.
get
(
"flag"
);
QueryWrapper
<
AppointmentOrderEntity
>
wrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
AppointmentOrderEntity
>
wrapper
=
new
QueryWrapper
<>();
...
...
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