修改冷转印价格
This commit is contained in:
@@ -3446,19 +3446,24 @@ public class PriceUtils {
|
||||
}
|
||||
double price = 0;
|
||||
if (craft_list.contains("冷转印")) {
|
||||
if (countNum == 1) {
|
||||
price = 260 * Math.ceil(count / countNum) + (coNumber - 1) * 100;
|
||||
double banfei = 200;
|
||||
if (countNum > 1) {
|
||||
price = 260 * countNum;
|
||||
banfei = 0;
|
||||
count = Math.abs(count - countNum);
|
||||
|
||||
} else {
|
||||
if (count <= 5) {
|
||||
price = 260;
|
||||
} else if (count < 100) {
|
||||
price = 14 * count + 200;
|
||||
} else {
|
||||
price = 12 * count;
|
||||
}
|
||||
price = price + (coNumber - 1) * 100;
|
||||
}
|
||||
if (count > 0) {
|
||||
if (count <= 5) {
|
||||
price += 260;
|
||||
} else if (count < 100) {
|
||||
price += 14 * count + banfei;
|
||||
} else {
|
||||
price += 12 * count;
|
||||
}
|
||||
}
|
||||
|
||||
price = price + (coNumber - 1) * 100;
|
||||
}
|
||||
|
||||
return price;
|
||||
|
||||
Reference in New Issue
Block a user