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
ff9f902a
Commit
ff9f902a
authored
Oct 11, 2024
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-fix' into release
parents
a45dae18
d66b8287
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ProductPriceServiceImpl.java
...product/service/product/impl/ProductPriceServiceImpl.java
+4
-4
No files found.
yudao-module-product/yudao-module-product-core/src/main/java/cn/iocoder/yudao/module/product/service/product/impl/ProductPriceServiceImpl.java
View file @
ff9f902a
...
@@ -2663,7 +2663,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
...
@@ -2663,7 +2663,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
if
(
yfPriceUnit
.
equals
(
addYfPriceUnit
)
&&
yfVolumeUnit
.
equals
(
addYfVolumeUnit
))
{
if
(
yfPriceUnit
.
equals
(
addYfPriceUnit
)
&&
yfVolumeUnit
.
equals
(
addYfVolumeUnit
))
{
update
=
true
;
update
=
true
;
yf
=
yf
.
add
(
addYf
);
yf
=
yf
.
add
(
addYf
);
dbItem
.
setTransportPrice
(
yf
);
dbItem
.
setTransportPrice
(
yf
.
compareTo
(
BigDecimal
.
ZERO
)
<
0
?
BigDecimal
.
ZERO
:
yf
);
}
}
}
}
...
@@ -2678,7 +2678,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
...
@@ -2678,7 +2678,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
if
(
qgfPriceUnit
.
equals
(
addQgfPriceUnit
)
&&
qgfVolumeUnit
.
equals
(
addQgfVolumeUnit
))
{
if
(
qgfPriceUnit
.
equals
(
addQgfPriceUnit
)
&&
qgfVolumeUnit
.
equals
(
addQgfVolumeUnit
))
{
update
=
true
;
update
=
true
;
qgf
=
qgf
.
add
(
addQgf
);
qgf
=
qgf
.
add
(
addQgf
);
dbItem
.
setClearancePrice
(
qgf
);
dbItem
.
setClearancePrice
(
qgf
.
compareTo
(
BigDecimal
.
ZERO
)
<
0
?
BigDecimal
.
ZERO
:
qgf
);
}
}
}
}
}
}
...
@@ -2694,7 +2694,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
...
@@ -2694,7 +2694,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
if
(
qbjPriceUnit
.
equals
(
addQbjPriceUnit
)
&&
qbjVolumeUnit
.
equals
(
addQbjVolumeUnit
))
{
if
(
qbjPriceUnit
.
equals
(
addQbjPriceUnit
)
&&
qbjVolumeUnit
.
equals
(
addQbjVolumeUnit
))
{
update
=
true
;
update
=
true
;
qbj
=
qbj
.
add
(
addQbj
);
qbj
=
qbj
.
add
(
addQbj
);
dbItem
.
setAllPrice
(
qbj
);
dbItem
.
setAllPrice
(
qbj
.
compareTo
(
BigDecimal
.
ZERO
)
<
0
?
BigDecimal
.
ZERO
:
qbj
);
}
}
}
}
}
}
...
@@ -2710,7 +2710,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
...
@@ -2710,7 +2710,7 @@ public class ProductPriceServiceImpl extends AbstractService<ProductPriceMapper,
if
(
qgfPriceUnit
.
equals
(
addQgfPriceUnit
)
&&
qgfVolumeUnit
.
equals
(
addQgfVolumeUnit
))
{
if
(
qgfPriceUnit
.
equals
(
addQgfPriceUnit
)
&&
qgfVolumeUnit
.
equals
(
addQgfVolumeUnit
))
{
update
=
true
;
update
=
true
;
qgf
=
qgf
.
add
(
addQgf
);
qgf
=
qgf
.
add
(
addQgf
);
dbItem
.
setClearancePrice
(
qgf
);
dbItem
.
setClearancePrice
(
qgf
.
compareTo
(
BigDecimal
.
ZERO
)
<
0
?
BigDecimal
.
ZERO
:
qgf
);
}
}
}
}
}
}
...
...
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