修改一次性纸杯价格
This commit is contained in:
@@ -4404,7 +4404,7 @@ public class ProductService {
|
||||
case "一次性纸杯":
|
||||
priceList = new PaperCupPrice().getPrice(count, 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));
|
||||
}
|
||||
return priceList;
|
||||
|
||||
Reference in New Issue
Block a user