Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
1268f13d
Commit
1268f13d
authored
Jan 28, 2021
by
chongfu.liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
买赠计算
parent
4d23a785
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
4 deletions
+16
-4
shopping-cart-application-service/src/main/java/cn/freemud/demo/service/AbstractAddGoodsService.java
+4
-1
shopping-cart-application-service/src/main/java/cn/freemud/demo/service/AbstractApportionService.java
+4
-1
shopping-cart-application-service/src/main/java/cn/freemud/demo/service/AbstractListCartGoodsService.java
+4
-1
shopping-cart-application-service/src/main/java/cn/freemud/demo/service/AbstractUpdateGoodsQtyService.java
+4
-1
No files found.
shopping-cart-application-service/src/main/java/cn/freemud/demo/service/AbstractAddGoodsService.java
View file @
1268f13d
...
@@ -1140,7 +1140,10 @@ public abstract class AbstractAddGoodsService implements AddGoodsService {
...
@@ -1140,7 +1140,10 @@ public abstract class AbstractAddGoodsService implements AddGoodsService {
if
(
CollectionUtils
.
isEmpty
(
gifts
))
return
productBeanList
;
if
(
CollectionUtils
.
isEmpty
(
gifts
))
return
productBeanList
;
GetProductBO
getProductBO
=
new
GetProductBO
();
GetProductBO
getProductBO
=
new
GetProductBO
();
getProductBO
.
setGoodsId
(
gifts
);
getProductBO
.
setPartnerId
(
baseRequestDTO
.
getPartnerId
());
getProductBO
.
setStoreId
(
baseRequestDTO
.
getShopId
());
getProductBO
.
setMenuType
(
baseRequestDTO
.
getMenuType
());
List
<
ProductBO
>
productsInfo
=
productManager
.
getProductsInfo
(
getProductBO
,
baseRequestDTO
.
getManagerService
().
getProductService
());
List
<
ProductBO
>
productsInfo
=
productManager
.
getProductsInfo
(
getProductBO
,
baseRequestDTO
.
getManagerService
().
getProductService
());
return
productsInfo
;
return
productsInfo
;
...
...
shopping-cart-application-service/src/main/java/cn/freemud/demo/service/AbstractApportionService.java
View file @
1268f13d
...
@@ -1619,7 +1619,10 @@ public class AbstractApportionService implements GetShoppingCartGoodsApportionSe
...
@@ -1619,7 +1619,10 @@ public class AbstractApportionService implements GetShoppingCartGoodsApportionSe
if
(
CollectionUtils
.
isEmpty
(
gifts
))
return
productBeanList
;
if
(
CollectionUtils
.
isEmpty
(
gifts
))
return
productBeanList
;
GetProductBO
getProductBO
=
new
GetProductBO
();
GetProductBO
getProductBO
=
new
GetProductBO
();
getProductBO
.
setGoodsId
(
gifts
);
getProductBO
.
setPartnerId
(
baseRequestDTO
.
getPartnerId
());
getProductBO
.
setStoreId
(
baseRequestDTO
.
getShopId
());
getProductBO
.
setMenuType
(
baseRequestDTO
.
getMenuType
());
List
<
ProductBO
>
productsInfo
=
productManager
.
getProductsInfo
(
getProductBO
,
baseRequestDTO
.
getManagerService
().
getProductService
());
List
<
ProductBO
>
productsInfo
=
productManager
.
getProductsInfo
(
getProductBO
,
baseRequestDTO
.
getManagerService
().
getProductService
());
return
productsInfo
;
return
productsInfo
;
...
...
shopping-cart-application-service/src/main/java/cn/freemud/demo/service/AbstractListCartGoodsService.java
View file @
1268f13d
...
@@ -1492,7 +1492,10 @@ public class AbstractListCartGoodsService implements ListCartGoodsService {
...
@@ -1492,7 +1492,10 @@ public class AbstractListCartGoodsService implements ListCartGoodsService {
if
(
CollectionUtils
.
isEmpty
(
gifts
))
return
productBeanList
;
if
(
CollectionUtils
.
isEmpty
(
gifts
))
return
productBeanList
;
GetProductBO
getProductBO
=
new
GetProductBO
();
GetProductBO
getProductBO
=
new
GetProductBO
();
getProductBO
.
setGoodsId
(
gifts
);
getProductBO
.
setPartnerId
(
baseRequestDTO
.
getPartnerId
());
getProductBO
.
setStoreId
(
baseRequestDTO
.
getShopId
());
getProductBO
.
setMenuType
(
baseRequestDTO
.
getMenuType
());
List
<
ProductBO
>
productsInfo
=
productManager
.
getProductsInfo
(
getProductBO
,
baseRequestDTO
.
getManagerService
().
getProductService
());
List
<
ProductBO
>
productsInfo
=
productManager
.
getProductsInfo
(
getProductBO
,
baseRequestDTO
.
getManagerService
().
getProductService
());
return
productsInfo
;
return
productsInfo
;
...
...
shopping-cart-application-service/src/main/java/cn/freemud/demo/service/AbstractUpdateGoodsQtyService.java
View file @
1268f13d
...
@@ -1072,7 +1072,10 @@ public abstract class AbstractUpdateGoodsQtyService implements UpdateGoodsQtySer
...
@@ -1072,7 +1072,10 @@ public abstract class AbstractUpdateGoodsQtyService implements UpdateGoodsQtySer
if
(
CollectionUtils
.
isEmpty
(
gifts
))
return
productBeanList
;
if
(
CollectionUtils
.
isEmpty
(
gifts
))
return
productBeanList
;
GetProductBO
getProductBO
=
new
GetProductBO
();
GetProductBO
getProductBO
=
new
GetProductBO
();
getProductBO
.
setGoodsId
(
gifts
);
getProductBO
.
setPartnerId
(
baseRequestDTO
.
getPartnerId
());
getProductBO
.
setStoreId
(
baseRequestDTO
.
getShopId
());
getProductBO
.
setMenuType
(
baseRequestDTO
.
getMenuType
());
List
<
ProductBO
>
productsInfo
=
productManager
.
getProductsInfo
(
getProductBO
,
baseRequestDTO
.
getManagerService
().
getProductService
());
List
<
ProductBO
>
productsInfo
=
productManager
.
getProductsInfo
(
getProductBO
,
baseRequestDTO
.
getManagerService
().
getProductService
());
return
productsInfo
;
return
productsInfo
;
...
...
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