修改登录权限,修改吊牌翻倍价格

This commit is contained in:
2025-06-23 16:24:43 +08:00
parent 17def0dd1f
commit e178b27aa2
3 changed files with 14 additions and 8 deletions
@@ -1090,8 +1090,10 @@ public class ProductService {
for (Product product : priceList) {
// 服装吊牌里面的600克吊牌把价格*1.3倍
if (!("6".equals(kind) && "".equals(kind2) && area <= 0.00486)) {
product.setPrice(Math.floor(product.getPrice() * 1.3));
if (!("6".equals(kind) && "".equals(kind2))) {
if (area <= 0.00486) {
product.setPrice(Math.floor(product.getPrice() * 1.3));
}
}
if ("4".equals(kind)) {
// 服装吊牌里面的900克吊牌把价格