|
@@ -821,18 +821,7 @@ public class ProductService {
|
|
|
int min = getNum(length, width);
|
|
int min = getNum(length, width);
|
|
|
String[] kind_list = {"3", "4", "5", "7"};
|
|
String[] kind_list = {"3", "4", "5", "7"};
|
|
|
dto.setD("");
|
|
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;
|
|
boolean isyaofeng = false;
|
|
|
|
|
|
|
|
double moqiePrice = 0;
|
|
double moqiePrice = 0;
|