|
|
@@ -4818,7 +4818,11 @@ public class ProductService {
|
|
|
};
|
|
|
int[] counts = {500, 1000, 2000, 3000, 5000, 10000, 20000};
|
|
|
priceList = getAreaCenterPrice(counts, count, width * length, prices, areas, number);
|
|
|
+
|
|
|
for (Product product : priceList) {
|
|
|
+ if("2".equals(dto.getKind())){
|
|
|
+ product.setPrice(Math.ceil(product.getPrice() * 1.1));
|
|
|
+ }
|
|
|
product.setWeight(df.format(number * length / 100 * width / 100 * product.getCount() * 0.3));
|
|
|
}
|
|
|
return priceList;
|