新增流苏工艺
This commit is contained in:
@@ -3136,12 +3136,19 @@ public class ProductService {
|
||||
if (Arrays.binarySearch(dto.getCraft(), "配弹力绳") > -1) {
|
||||
peijianPrice = 0.05;
|
||||
}
|
||||
|
||||
for (Product product : priceList) {
|
||||
if (peijianPrice > 0) {
|
||||
product.setPrice(Math.ceil(product.getPrice() + peijianPrice * dto.getCount() * dto.getNumber() + 5));
|
||||
}
|
||||
}
|
||||
if (Arrays.binarySearch(dto.getCraft(), "配流苏") > -1) {
|
||||
for (Product product : priceList) {
|
||||
product.setPrice(Math.ceil(product.getPrice() + Math.max(5, 3 * dto.getCo_number())));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!role.contains("1045") && !role.contains("1054") && !role.contains("1029")) {
|
||||
if (number > 1) {
|
||||
double designFee = 0;
|
||||
|
||||
Reference in New Issue
Block a user