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
bea6a6bf
Commit
bea6a6bf
authored
Aug 23, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-fix' into dev
parents
51a64f7e
61755259
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 @
bea6a6bf
...
@@ -96,7 +96,7 @@ public class BasePrice extends BaseDO {
...
@@ -96,7 +96,7 @@ public class BasePrice extends BaseDO {
@ApiModelProperty
(
value
=
"特殊需求列表"
)
@ApiModelProperty
(
value
=
"特殊需求列表"
)
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
List
<
ProductPriceSpecialDO
>
specialList
;
private
List
<
ProductPriceSpecialDO
>
special
DO
List
;
@ApiModelProperty
(
value
=
"运费包装价格列表"
)
@ApiModelProperty
(
value
=
"运费包装价格列表"
)
@TableField
(
exist
=
false
)
@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 @
bea6a6bf
...
@@ -3463,7 +3463,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
...
@@ -3463,7 +3463,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
lineChannelList
.
add
(
vo
);
lineChannelList
.
add
(
vo
);
createReqVO
.
setLineChannelList
(
lineChannelList
);
createReqVO
.
setLineChannelList
(
lineChannelList
);
ProductPriceRespVO
respVO
=
this
.
getProductPriceDetail
(
price
.
getId
());
ProductPriceRespVO
respVO
=
this
.
getProductPriceDetail
(
price
.
getId
());
price
.
setSpecialList
(
respVO
.
getSpecialList
());
price
.
setSpecial
DO
List
(
respVO
.
getSpecialList
());
//阶梯运费价格列表
//阶梯运费价格列表
List
<
ProductPriceStepDO
>
freightPriceStepList
=
new
ArrayList
<>();
List
<
ProductPriceStepDO
>
freightPriceStepList
=
new
ArrayList
<>();
//阶梯清关费价格列表
//阶梯清关费价格列表
...
@@ -3641,8 +3641,8 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
...
@@ -3641,8 +3641,8 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
if
(
productPriceDO
.
getStepPrice
()
==
1
)
{
if
(
productPriceDO
.
getStepPrice
()
==
1
)
{
copyStepPrice
(
stepList
,
transportType
,
productPriceDO
,
dbStepMap
,
insertList1
,
productPricePackagingDOS
,
updateList
);
copyStepPrice
(
stepList
,
transportType
,
productPriceDO
,
dbStepMap
,
insertList1
,
productPricePackagingDOS
,
updateList
);
}
else
{
}
else
{
if
(
CollectionUtil
.
isNotEmpty
(
productPriceDO
.
getSpecialList
()))
{
if
(
CollectionUtil
.
isNotEmpty
(
productPriceDO
.
getSpecial
DO
List
()))
{
for
(
ProductPriceSpecialDO
specialDO
:
productPriceDO
.
getSpecialList
())
{
for
(
ProductPriceSpecialDO
specialDO
:
productPriceDO
.
getSpecial
DO
List
())
{
ProductPriceSpecialDO
priceSpecialDO
=
new
ProductPriceSpecialDO
();
ProductPriceSpecialDO
priceSpecialDO
=
new
ProductPriceSpecialDO
();
BeanUtils
.
copyProperties
(
specialDO
,
priceSpecialDO
);
BeanUtils
.
copyProperties
(
specialDO
,
priceSpecialDO
);
priceSpecialDO
.
setId
(
null
);
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