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

@@ -73,6 +73,9 @@ public class HardCreateOrderDto {
@Schema(description = "钱包id")
private Long walletId;
@Schema(description = "额外价格(分)")
private Integer extraPrice;
@Schema(description = "离线支付是否成功")
private Boolean offlinePaySuccess;
}
@@ -24,4 +24,7 @@ public class HardCreateCarDto {
// TODO 超市特有
@Schema(description = "重量", requiredMode = Schema.RequiredMode.REQUIRED, example = "20798")
private BigDecimal productWeight;
@Schema(description = "是否额外收费")
private Boolean isPriceIncreased;
}
@@ -83,6 +83,12 @@ public class HardCarEntity extends Model<HardCarEntity> {
@Schema(description = "重量")
private BigDecimal productWeight;
/**
* 是否为优惠商品
*/
@Schema(description = "是否为优惠商品")
private String isDiscountsProduct;
/**
* 总价(分)
*/