修改一次性纸杯价格
This commit is contained in:
@@ -4404,7 +4404,7 @@ public class ProductService {
|
|||||||
case "一次性纸杯":
|
case "一次性纸杯":
|
||||||
priceList = new PaperCupPrice().getPrice(count, priceList);
|
priceList = new PaperCupPrice().getPrice(count, priceList);
|
||||||
for (Product product : priceList) {
|
for (Product product : priceList) {
|
||||||
product.setPrice(Math.floor(product.getPrice() * number));
|
product.setPrice(Math.ceil(product.getPrice() * number * 1.2));
|
||||||
product.setWeight(df.format(6 * product.getCount() / 1000 * number));
|
product.setWeight(df.format(6 * product.getCount() / 1000 * number));
|
||||||
}
|
}
|
||||||
return priceList;
|
return priceList;
|
||||||
|
|||||||
Reference in New Issue
Block a user