记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
d57a4107
Commit
d57a4107
authored
Jan 05, 2023
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp 组合售下单
parent
ace202f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
GoblinStoreOrderVo.java
...m/liquidnet/service/goblin/dto/vo/GoblinStoreOrderVo.java
+2
-1
MixOrderServiceImpl.java
...idnet/service/order/service/impl/MixOrderServiceImpl.java
+6
-2
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/GoblinStoreOrderVo.java
View file @
d57a4107
...
...
@@ -210,7 +210,7 @@ public class GoblinStoreOrderVo implements Serializable, Cloneable {
return
this
;
}
public
GoblinStoreOrderVo
copyMix
(
GoblinStoreOrder
source
,
String
mixId
,
String
mixName
)
{
public
GoblinStoreOrderVo
copyMix
(
GoblinStoreOrder
source
,
String
mixId
,
String
mixName
,
int
erpHosting
)
{
if
(
null
==
source
)
return
this
;
this
.
setOrderId
(
source
.
getOrderId
());
this
.
setStoreId
(
source
.
getStoreId
());
...
...
@@ -254,6 +254,7 @@ public class GoblinStoreOrderVo implements Serializable, Cloneable {
this
.
setCreatedAt
(
source
.
getCreatedAt
().
format
(
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
)));
this
.
setMixId
(
mixId
);
this
.
setMixName
(
mixName
);
this
.
setErpHosting
(
erpHosting
);
return
this
;
}
...
...
liquidnet-bus-service/liquidnet-service-order/liquidnet-service-order-impl/src/main/java/com/liquidnet/service/order/service/impl/MixOrderServiceImpl.java
View file @
d57a4107
...
...
@@ -365,7 +365,7 @@ public class MixOrderServiceImpl implements IMixOrderService {
nftOrder
.
setCreatedAt
(
now
);
GoblinGoodsInfoVo
spuVo
=
redisUtils
.
getGoodsInfoVo
(
nftOrder
.
getSpuId
());
if
(
boxSkuId
==
null
||
""
.
equals
(
boxSkuId
))
{
if
(
nftOrder
.
getBoxSkuId
()==
null
||
""
.
equals
(
nftOrder
.
getBoxSkuId
()
))
{
skuVo
=
redisUtils
.
getGoodsSkuInfoVo
(
nftOrder
.
getSkuId
());
}
else
{
skuVo
=
redisUtils
.
getGoodsSkuInfoVo
(
nftOrder
.
getBoxSkuId
());
...
...
@@ -496,7 +496,11 @@ public class MixOrderServiceImpl implements IMixOrderService {
LinkedList
<
Object
[]>
sqlDataAttr
=
CollectionUtil
.
linkedListObjectArr
();
List
<
String
>
goblinOrderSkuIdList
=
CollectionUtil
.
linkedListString
();
if
(
preParam
!=
null
)
{
int
erpHosting
=
0
;
for
(
GoblinOrderSku
orderSku
:
preParam
.
getOrderSkuList
())
{
if
(
erpHosting
==
0
){
erpHosting
=
orderSku
.
getErpHosting
();
}
sqlDataSku
.
add
(
new
Object
[]{
orderSku
.
getOrderSkuId
(),
orderSku
.
getOrderId
(),
orderSku
.
getSpuId
(),
orderSku
.
getSpuName
(),
orderSku
.
getSpuPic
(),
orderSku
.
getSkuId
(),
orderSku
.
getNum
(),
orderSku
.
getSkuPrice
(),
orderSku
.
getSkuPriceActual
(),
orderSku
.
getSkuName
(),
orderSku
.
getSkuNo
(),
orderSku
.
getSkuImage
(),
orderSku
.
getSkuSpecs
(),
orderSku
.
getPriceVoucher
(),
...
...
@@ -521,7 +525,7 @@ public class MixOrderServiceImpl implements IMixOrderService {
orderAttr
.
getOrderAttrId
(),
orderAttr
.
getOrderId
(),
orderAttr
.
getExpressContacts
(),
orderAttr
.
getExpressAddress
(),
orderAttr
.
getExpressAddressDetail
(),
orderAttr
.
getExpressPhone
(),
orderAttr
.
getExpressType
(),
orderAttr
.
getCreatedAt
()
});
//订单vo
GoblinStoreOrderVo
orderVo
=
GoblinStoreOrderVo
.
getNew
().
copyMix
(
storeOrder
,
mixId
,
mixName
);
GoblinStoreOrderVo
orderVo
=
GoblinStoreOrderVo
.
getNew
().
copyMix
(
storeOrder
,
mixId
,
mixName
,
erpHosting
);
//订单attr vo
GoblinOrderAttrVo
orderAttrVo
=
GoblinOrderAttrVo
.
getNew
().
copy
(
orderAttr
);
//redis 赋值
...
...
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