修改单面凹凸
This commit is contained in:
@@ -1024,7 +1024,7 @@ public class ProductService {
|
||||
priceList = getHekaPrice(min, product1, priceList, count);
|
||||
getCraft(product1, priceList, length * 10, width * 10, min);
|
||||
for (Product product : priceList) {
|
||||
if ("凹凸".equals(dto.getAotu())) {
|
||||
if ("击凸".equals(dto.getAotu()) || "压凹".equals(dto.getAotu())) {
|
||||
product.setPrice(Math.floor(product.getPrice() + (product.getPrice() * 0.09 > 153 ? product.getPrice() * 0.09 : 153)));
|
||||
}
|
||||
if (craft.contains("弹力绳")) {
|
||||
@@ -5767,7 +5767,7 @@ public class ProductService {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (craftList.contains("击凸")) {
|
||||
if (!"服装吊牌".equals(dto.getProTypeValue()) && craftList.contains("击凸")) {
|
||||
for (Product product : priceList) {
|
||||
if (product.getCount() <= 400) {
|
||||
product.setPrice(product.getPrice() + 60);
|
||||
|
||||
Reference in New Issue
Block a user