修改卡片尺寸价格

This commit is contained in:
2025-09-29 09:11:57 +08:00
parent 207221a621
commit 8f649d572e
2 changed files with 2 additions and 13 deletions
@@ -821,18 +821,7 @@ public class ProductService {
int min = getNum(length, width);
String[] kind_list = {"3", "4", "5", "7"};
dto.setD("");
if (!"7".equals(dto.getKind()) && !"8".equals(dto.getKind()) && !"1".equals(dto.getKind())) {
if ((length < 4 || width < 4)) {
Product product = new Product();
product.setProTypeValue("3");
product.setCount(dto.getCount());
product.setKindValue("0");
priceList = productMapper.getThanPrice(product);
}
}
if (priceList.size() == 0) {
priceList = getHekaPrice(min, dto, priceList, count);
}
priceList = getHekaPrice(min, dto, priceList, count);
boolean isyaofeng = false;
double moqiePrice = 0;