feat:优化涨价

This commit is contained in:
dzc committed 2026-03-29 21:37:23 +08:00
1 parent 4e5afdc272
commit 9317daa90d
15 files changed
+249 -170

No files matched your search

@@ -43,6 +43,11 @@ public class WalletXfjDiscounts {
*/
private Double extraPer;
/**
* 特色菜是否额外收费
*/
private String specialDishEnable;
public int computedDiscountsExtraPrice(int totalPrice) {
if (totalPrice <= basePrice) return 0;
double rate = ObjectUtil.isEmpty(extraPer) ? 1.0 : extraPer;