This commit is contained in:
2025-06-06 15:01:08 +08:00
parent b2ebe096aa
commit 2aa81bb41a
4 changed files with 136 additions and 12 deletions
@@ -3439,4 +3439,23 @@ public class PriceUtils {
}
return price;
}
public double CalculatePrice(List<String> craft_list, double count, int coNumber) {
if (craft_list.contains("烫画")) {
return (int) count * 120;
}
double price = 0;
if (craft_list.contains("冷转印")) {
if (count <= 5) {
price = 260;
} else if (count < 100) {
price = 12 * count + 200;
} else {
price = 14 * count;
}
price = price + (coNumber - 1) * 100;
}
return price;
}
}