修改扇子尺寸
This commit is contained in:
@@ -2764,10 +2764,11 @@ public class ProductService {
|
||||
priceList.add(dto2);
|
||||
} else if (dto.getProTypeLabel().equals("种子纸")) {
|
||||
int av_count = count;
|
||||
if ("4".equals(dto.getZ3type())) {
|
||||
count = Math.max(count, 300);
|
||||
}
|
||||
|
||||
double price = Math.ceil((length * width * count * 200) / 10000);//价格计算尺寸*数量*200/10000
|
||||
if ("4".equals(dto.getZ3type())) {
|
||||
price = Math.ceil((length * width * count * 140) / 10000);//价格计算尺寸*数量*200/10000
|
||||
}
|
||||
|
||||
if (!StringUtils.isEmpty(crafts) && Arrays.asList(crafts).contains("编码")) {//起步价10
|
||||
price += Math.max(count * 0.5, 10);
|
||||
@@ -2789,9 +2790,9 @@ public class ProductService {
|
||||
price += Math.ceil(Math.max(count * 0.15 * number, 5));
|
||||
}
|
||||
|
||||
if ("4".equals(dto.getZ3type())) {
|
||||
price += 100;
|
||||
}
|
||||
// if ("4".equals(dto.getZ3type())) {
|
||||
// price += 100;
|
||||
// }
|
||||
craft_list = crafts != null ? Arrays.asList(crafts) : new ArrayList<>();
|
||||
if (craft_list.size() > 0 && craft_list.contains("绳子")) {
|
||||
price += Math.max(5, Math.ceil(0.1 * number * count));
|
||||
|
||||
Reference in New Issue
Block a user