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
a3c3f6a4
Commit
a3c3f6a4
authored
Nov 11, 2024
by
张永
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
ed93dfd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
CartServiceImpl.java
...java/com/egolm/shop/api/service/impl/CartServiceImpl.java
+5
-0
No files found.
src/main/java/com/egolm/shop/api/service/impl/CartServiceImpl.java
View file @
a3c3f6a4
...
@@ -282,11 +282,16 @@ public class CartServiceImpl implements CartService {
...
@@ -282,11 +282,16 @@ public class CartServiceImpl implements CartService {
*/
*/
@Override
@Override
public
String
query
(
Map
<
String
,
Object
>
params
)
{
public
String
query
(
Map
<
String
,
Object
>
params
)
{
String
orgNo
=
(
String
)
params
.
get
(
"orgNo"
);
String
orgNo
=
(
String
)
params
.
get
(
"orgNo"
);
String
shopNO
=
params
.
get
(
"shopNO"
)+
""
;
String
shopNO
=
params
.
get
(
"shopNO"
)+
""
;
String
agentID
=
params
.
get
(
"agentID"
)+
""
;
String
agentID
=
params
.
get
(
"agentID"
)+
""
;
String
terminal
=
params
.
get
(
"terminal"
)+
""
;
String
terminal
=
params
.
get
(
"terminal"
)+
""
;
String
isCalcPromo
=
params
.
get
(
"isCalcPromo"
)+
""
;
//"是否计算汇总 0为不计算,1为计算"
String
isCalcPromo
=
params
.
get
(
"isCalcPromo"
)+
""
;
//"是否计算汇总 0为不计算,1为计算"
this
.
CartToCartTempItem
(
shopNO
);
Map
<
String
,
Object
>
queryMap
=
cartRedisService
.
query
(
orgNo
,
shopNO
,
terminal
,
isCalcPromo
,
agentID
);
Map
<
String
,
Object
>
queryMap
=
cartRedisService
.
query
(
orgNo
,
shopNO
,
terminal
,
isCalcPromo
,
agentID
);
/*Map<String, Object> countMap = this.count(orgNo, shopNO);
/*Map<String, Object> countMap = this.count(orgNo, shopNO);
queryMap.putAll(countMap);*/
queryMap.putAll(countMap);*/
...
...
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