Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jiujian
/
client-customer-order-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangyingyang
2025-03-14 15:18:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5c58d61219a9a961aff3ca8aa0c2991fd392945a
5c58d612
1 parent
10442c80
fix
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
src/main/java/com/infoloop/tianting/controller/PayController.java
src/main/java/com/infoloop/tianting/service/impl/OrderServiceImpl.java
src/main/java/com/infoloop/tianting/controller/PayController.java
View file @
5c58d61
...
...
@@ -53,7 +53,6 @@ public class PayController {
return
payServiceClient
.
callback
(
paymentCallbackDTO
);
}
@SaIgnore
@ApiOperation
(
value
=
"支付撤销"
)
@PostMapping
(
value
=
"/pay/cancel"
)
@ResponseStatus
(
HttpStatus
.
OK
)
...
...
src/main/java/com/infoloop/tianting/service/impl/OrderServiceImpl.java
View file @
5c58d61
...
...
@@ -462,8 +462,8 @@ public class OrderServiceImpl implements OrderService {
final
var
result
=
Arrays
.
stream
(
keywords
)
.
filter
(
keyword
->
r
.
getCustomerNoticeJson
().
getDoctorsList
().
stream
().
anyMatch
(
str
->
str
.
contains
(
keyword
)))
.
findFirst
();
if
(
result
!=
null
)
{
orderNotice
.
add
(
"医嘱包含"
+
result
);
if
(
result
.
isPresent
()
)
{
orderNotice
.
add
(
"医嘱包含"
+
result
.
get
()
);
}
return
OrderDto
.
builder
()
.
id
(
r
.
getId
())
...
...
@@ -541,8 +541,8 @@ public class OrderServiceImpl implements OrderService {
final
var
result
=
Arrays
.
stream
(
keywords
)
.
filter
(
keyword
->
r
.
getCustomerNoticeJson
().
getDoctorsList
().
stream
().
anyMatch
(
str
->
str
.
contains
(
keyword
)))
.
findFirst
();
if
(
result
!=
null
)
{
orderNotice
.
add
(
"医嘱包含"
+
result
);
if
(
result
.
isPresent
()
)
{
orderNotice
.
add
(
"医嘱包含"
+
result
.
get
()
);
}
return
OrderDto
.
builder
()
.
id
(
r
.
getId
())
...
...
Please
register
or
login
to post a comment