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
f5fb6219
Commit
f5fb6219
authored
Oct 11, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
2663e65e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
CartRedisServiceImpl.java
...ava/com/egolm/shop/service/impl/CartRedisServiceImpl.java
+4
-0
No files found.
src/main/java/com/egolm/shop/service/impl/CartRedisServiceImpl.java
View file @
f5fb6219
...
@@ -27,6 +27,7 @@ import com.egolm.common.bean.Rjx;
...
@@ -27,6 +27,7 @@ import com.egolm.common.bean.Rjx;
import
com.egolm.common.exception.ReflectException
;
import
com.egolm.common.exception.ReflectException
;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.common.jdbc.JdbcTemplate
;
import
com.egolm.common.jdbc.ResultMutil
;
import
com.egolm.common.jdbc.ResultMutil
;
import
com.egolm.shop.config.XException
;
import
com.egolm.shop.service.CartRedisService
;
import
com.egolm.shop.service.CartRedisService
;
/**
/**
...
@@ -670,6 +671,7 @@ public class CartRedisServiceImpl implements CartRedisService {
...
@@ -670,6 +671,7 @@ public class CartRedisServiceImpl implements CartRedisService {
product
.
put
(
"warehouseNo"
,
pm
.
get
(
"sWarehouseNO"
));
product
.
put
(
"warehouseNo"
,
pm
.
get
(
"sWarehouseNO"
));
}
else
{
}
else
{
logger
.
error
(
"商品资料不完整"
+
contractNo
+
"$"
+
goodsId
);
logger
.
error
(
"商品资料不完整"
+
contractNo
+
"$"
+
goodsId
);
throw
new
XException
(
"商品已失效"
);
}
}
}
}
for
(
Map
<
String
,
Object
>
product
:
giftList
)
{
for
(
Map
<
String
,
Object
>
product
:
giftList
)
{
...
@@ -687,6 +689,7 @@ public class CartRedisServiceImpl implements CartRedisService {
...
@@ -687,6 +689,7 @@ public class CartRedisServiceImpl implements CartRedisService {
product
.
put
(
"nTag"
,
pm
.
get
(
"nTag"
));
product
.
put
(
"nTag"
,
pm
.
get
(
"nTag"
));
}
else
{
}
else
{
logger
.
error
(
"商品资料不完整"
+
contractNo
+
"$"
+
goodsId
);
logger
.
error
(
"商品资料不完整"
+
contractNo
+
"$"
+
goodsId
);
throw
new
XException
(
"商品已失效"
);
}
}
}
}
for
(
Map
<
String
,
Object
>
groupInfo
:
groupList
)
{
for
(
Map
<
String
,
Object
>
groupInfo
:
groupList
)
{
...
@@ -705,6 +708,7 @@ public class CartRedisServiceImpl implements CartRedisService {
...
@@ -705,6 +708,7 @@ public class CartRedisServiceImpl implements CartRedisService {
product
.
put
(
"warehouseNo"
,
pm
.
get
(
"sWarehouseNO"
));
product
.
put
(
"warehouseNo"
,
pm
.
get
(
"sWarehouseNO"
));
}
else
{
}
else
{
logger
.
error
(
"商品资料不完整"
+
contractNo
+
"$"
+
goodsId
);
logger
.
error
(
"商品资料不完整"
+
contractNo
+
"$"
+
goodsId
);
throw
new
XException
(
"商品已失效"
);
}
}
}
}
}
}
...
...
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