Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
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
曲欣亮
shop
Commits
6de145df
Commit
6de145df
authored
Jul 18, 2024
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
67f8238d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
CartQueryServiceImpl.java
...com/egolm/shop/api/service/impl/CartQueryServiceImpl.java
+6
-4
No files found.
src/main/java/com/egolm/shop/api/service/impl/CartQueryServiceImpl.java
View file @
6de145df
...
@@ -894,11 +894,13 @@ public class CartQueryServiceImpl implements CartQueryService {
...
@@ -894,11 +894,13 @@ public class CartQueryServiceImpl implements CartQueryService {
BigDecimal
TotalAmount
=
BigDecimal
.
ZERO
;
BigDecimal
TotalAmount
=
BigDecimal
.
ZERO
;
Map
<
String
,
Object
>
goodsFirst
=
GoodsList
.
get
(
0
);
Map
<
String
,
Object
>
goodsFirst
=
GoodsList
.
get
(
0
);
logger
.
info
(
"goodsFirst-----"
+
GsonUtil
.
toJson
(
goodsFirst
));
logger
.
info
(
"goodsFirst-----"
+
GsonUtil
.
toJson
(
goodsFirst
));
String
nMinDCAmount
=
goodsFirst
.
get
(
"nMinDCAmount"
)+
""
;
if
(!
StringUtil
.
isNotBlank
(
nMinDCAmount
))
{
Double
MinOrderAmt
;
nMinDCAmount
=
"0"
;
try
{
MinOrderAmt
=
Util
.
objTo
(
goodsFirst
.
get
(
"nMinDCAmount"
),
Double
.
class
);
}
catch
(
Exception
e
)
{
MinOrderAmt
=
Double
.
valueOf
(
0
);
}
}
Double
MinOrderAmt
=
Util
.
objTo
(
nMinDCAmount
,
Double
.
class
);
// 最小配送金额
String
WMSInfo
=
goodsFirst
.
get
(
"sWarehouseName"
)+
""
;
// 物流名称
String
WMSInfo
=
goodsFirst
.
get
(
"sWarehouseName"
)+
""
;
// 物流名称
String
sWarehouseNO
=
goodsFirst
.
get
(
"sWarehouseNO"
)+
""
;
// 物流名称
String
sWarehouseNO
=
goodsFirst
.
get
(
"sWarehouseNO"
)+
""
;
// 物流名称
...
...
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