edit
This commit is contained in:
@@ -40,6 +40,9 @@ public class ZsPrice {
|
||||
double price = 60;
|
||||
double l = 438.0;
|
||||
double w = 304.0;
|
||||
if ("10".equals(dto.getKindValue())) {
|
||||
price = 90;
|
||||
}
|
||||
if ((length < 8.55 && width < 5.4) || (width < 8.55 && length < 5.4)) {
|
||||
length = 8.55;
|
||||
width = 5.4;
|
||||
@@ -53,7 +56,7 @@ public class ZsPrice {
|
||||
// 需要多少张大纸 = 数量 * 款数 /每张做多少个 ===总数量/每张多少个
|
||||
int num = (int) Math.ceil(count * number / max);
|
||||
if ("10".equals(dto.getKindValue())) {
|
||||
price += (num - 1) * 25;
|
||||
price += (num - 1) * 30;
|
||||
} else {
|
||||
price += (num - 1) * 15;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user