Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
f3315fac
Commit
f3315fac
authored
Aug 23, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制价格业务再次重构补充提交
parent
c28b11d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
BasePrice.java
...udao/module/product/dal/dataobject/product/BasePrice.java
+1
-1
ProductPriceServiceImpl.java
...product/service/product/impl/ProductPriceServiceImpl.java
+3
-3
No files found.
yudao-module-product/yudao-module-product-core/src/main/java/cn/iocoder/yudao/module/product/dal/dataobject/product/BasePrice.java
View file @
f3315fac
...
...
@@ -96,7 +96,7 @@ public class BasePrice extends BaseDO {
@ApiModelProperty
(
value
=
"特殊需求列表"
)
@TableField
(
exist
=
false
)
private
List
<
ProductPriceSpecialDO
>
specialList
;
private
List
<
ProductPriceSpecialDO
>
special
DO
List
;
@ApiModelProperty
(
value
=
"运费包装价格列表"
)
@TableField
(
exist
=
false
)
...
...
yudao-module-product/yudao-module-product-core/src/main/java/cn/iocoder/yudao/module/product/service/product/impl/ProductPriceServiceImpl.java
View file @
f3315fac
...
...
@@ -3463,7 +3463,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
lineChannelList
.
add
(
vo
);
createReqVO
.
setLineChannelList
(
lineChannelList
);
ProductPriceRespVO
respVO
=
this
.
getProductPriceDetail
(
price
.
getId
());
price
.
setSpecialList
(
respVO
.
getSpecialList
());
price
.
setSpecial
DO
List
(
respVO
.
getSpecialList
());
//阶梯运费价格列表
List
<
ProductPriceStepDO
>
freightPriceStepList
=
new
ArrayList
<>();
//阶梯清关费价格列表
...
...
@@ -3641,8 +3641,8 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
if
(
productPriceDO
.
getStepPrice
()
==
1
)
{
copyStepPrice
(
stepList
,
transportType
,
productPriceDO
,
dbStepMap
,
insertList1
,
productPricePackagingDOS
,
updateList
);
}
else
{
if
(
CollectionUtil
.
isNotEmpty
(
productPriceDO
.
getSpecialList
()))
{
for
(
ProductPriceSpecialDO
specialDO
:
productPriceDO
.
getSpecialList
())
{
if
(
CollectionUtil
.
isNotEmpty
(
productPriceDO
.
getSpecial
DO
List
()))
{
for
(
ProductPriceSpecialDO
specialDO
:
productPriceDO
.
getSpecial
DO
List
())
{
ProductPriceSpecialDO
priceSpecialDO
=
new
ProductPriceSpecialDO
();
BeanUtils
.
copyProperties
(
specialDO
,
priceSpecialDO
);
priceSpecialDO
.
setId
(
null
);
...
...
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