修改压痕工艺价格
This commit is contained in:
@@ -6212,7 +6212,7 @@ public class ProductService {
|
|||||||
}
|
}
|
||||||
if (craftList.contains("压痕")) {
|
if (craftList.contains("压痕")) {
|
||||||
for (Product product : priceList) {
|
for (Product product : priceList) {
|
||||||
product.setPrice(Math.ceil(product.getPrice() + (0.03 * product.getCount() > 30 ? 0.03 * product.getCount() : 30)));
|
product.setPrice(Math.ceil(product.getPrice() + Math.max(0.03 * product.getCount(), 20)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (craftList.contains("压点线")) {
|
if (craftList.contains("压点线")) {
|
||||||
|
|||||||
Viittaa uudesa ongelmassa
Block a user