修改冷转印价格

This commit is contained in:
2025-06-14 14:03:03 +08:00
parent 844f622d3e
commit 79f2153f17
2 changed files with 18 additions and 13 deletions
@@ -2409,7 +2409,7 @@ public class ProductService {
}
double baseCount = Math.max(Math.ceil(dto.getCount() * dto.getNumber() / num), 1);
double countNum = Math.max(Math.ceil(dto.getCount() / num), 1);
double countNum = Math.max(Math.ceil(dto.getNumber() / num), 1);
int coNumber = dto.getCo_number();
if (coNumber <= 0) {
coNumber = 1;
@@ -2429,7 +2429,7 @@ public class ProductService {
break;
}
baseCount = Math.max(Math.ceil(quantitySteps[i] * dto.getNumber() / num), 1);
countNum = Math.max(Math.ceil(dto.getCount() / num), 1);
countNum = Math.max(Math.ceil(dto.getNumber() / num), 1);
double currentPrice = new PriceUtils().CalculatePrice(craft_list, baseCount, coNumber, countNum);
pro = new Product();