新增杯垫镭射银工艺

This commit is contained in:
2025-11-01 10:21:51 +08:00
parent 8fc6cdcd8b
commit 4b0e45b1c6
3 changed files with 71 additions and 7 deletions
@@ -4149,15 +4149,18 @@ public class ProductService {
double[] jitu_add = {};
double[] tang = {};
double[] yaao = {};
double[] tanglei = {};
if ("10".equals(kind)) {
jitu = new double[]{267, 317, 450, 733, 1200};
jitu_add = new double[]{190, 210, 250, 320, 440};
tang = new double[]{250, 283, 383, 650, 980};
tanglei = new double[]{300, 340, 460, 780, 1176};
yaao = new double[]{250, 267, 383, 617, 950};
} else if ("11".equals(kind)) {
jitu = new double[]{267, 317, 417, 667, 1080};
jitu_add = new double[]{95, 105, 125, 160, 220};
tang = new double[]{250, 300, 350, 583, 930};
tanglei = new double[]{300, 360, 420, 700, 1116};
yaao = new double[]{250, 283, 317, 533, 900};
}
craft_list = Arrays.asList(dto.getCraft());
@@ -4180,6 +4183,12 @@ public class ProductService {
if (craft_list.contains("烫金")) {
product.setPrice(tang[i]);
}
if (craft_list.contains("烫镭射银")) {
product.setPrice(tanglei[i]);
if (dto.getTcolor().contains("双面烫镭射银")) {
product.setPrice(Math.ceil(tanglei[i] * 1.5));
}
}
if (craft_list.contains("无色压凹")) {
product.setPrice(yaao[i]);
}