修改uv价格
This commit is contained in:
@@ -2592,11 +2592,7 @@ public class ProductService {
|
||||
//if(role.indexOf("1000") > -1 || role.indexOf("1006") > -1) {//菇凉&卓胜uv单独报价 priceList = new PriceUtils().UVStickerLessPrice(length, width, count,number, dto.getCraft()); }else {
|
||||
|
||||
// 1006 1003 1005 1037 1058 1002 1033 1045 卓盛 航和 米笛儿 竹范 领淘文具 榆家 涛莱 拼多多uv单独报价
|
||||
if (role.indexOf("1045") > -1) {
|
||||
priceList = new PriceUtils().UVStickerSmallPrice(length, width, count, number, dto.getCraftMo(), dto.getCraft());
|
||||
} else {
|
||||
priceList = new PriceUtils().UVStickerPrice(length, width, count, number, dto.getCraftMo(), dto.getCraft());
|
||||
}
|
||||
priceList = new PriceUtils().UVStickerSmallPriceV2(length, width, count, number, dto.getCraftMo(), dto.getCraft(), role.indexOf("1045") > -1);
|
||||
if (priceList.get(0).getCount() != count) {
|
||||
priceList.get(0).setCount(count);
|
||||
}
|
||||
@@ -2674,7 +2670,7 @@ public class ProductService {
|
||||
price += Math.max(count * 0.2, 10);
|
||||
}
|
||||
price = price * number;//款数翻倍
|
||||
price = Math.max(price, 80);
|
||||
price = Math.max(price, 60);
|
||||
|
||||
if (!StringUtils.isEmpty(dto.getSwitchz3Size())) {
|
||||
price += 100;
|
||||
|
||||
Reference in New Issue
Block a user