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-01-03 14:18:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
be7ededf6b8af38a0ed24d8382c1e463d11c0d42
be7ededf
1 parent
1e6e7987
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/main/java/com/infoloop/tianting/service/impl/SettlementServiceImpl.java
src/main/java/com/infoloop/tianting/service/impl/SettlementServiceImpl.java
View file @
be7eded
...
...
@@ -422,6 +422,9 @@ public class SettlementServiceImpl implements SettlementService {
.
filter
(
o
->
Objects
.
equals
(
DateUtil
.
formatDateOfUtc
(
o
.
getCreatedAt
(),
DateUtil
.
YYYY_MM_DD_UTC
),
date
))
.
collect
(
Collectors
.
toList
());
for
(
SingleClientCustomerOrderDetailRpcResponse
detail:
curMealDateOrderDetails
)
{
if
(
detail
.
getServeStatus
().
equals
(
ServeStatusEnum
.
SERVE_REJECT
))
{
continue
;
}
final
var
settlementOrderDetail
=
SettlementMenuMealDto
.
builder
()
.
skuName
(
detail
.
getShowName
())
.
count
(
detail
.
getCount
())
...
...
@@ -519,9 +522,9 @@ public class SettlementServiceImpl implements SettlementService {
if
(!
toWriteDateSkuList
.
isEmpty
())
{
for
(
SettlementMenuMealDto
settlementMenuMealDto:
toWriteDateSkuList
)
{
price
+=
settlementMenuMealDto
.
getPrice
()
*
settlementMenuMealDto
.
getCount
();
totalPrice
+=
price
;
}
}
totalPrice
+=
price
;
Cell
priceCell
=
mealRow
.
createCell
(
columnNum
++);
priceCell
.
setCellValue
((
double
)
price
/
100
);
}
...
...
Please
register
or
login
to post a comment