From bab1a171bf077cb1457c768c9307b492b72f34f7 Mon Sep 17 00:00:00 2001 From: dzq Date: Fri, 27 Jun 2025 16:23:53 +0800 Subject: [PATCH] =?UTF-8?q?refactor(domain):=20=E7=A7=BB=E9=99=A4status?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E7=9A=84=E5=8F=8D=E5=BC=95=E5=8F=B7=E8=BD=AC?= =?UTF-8?q?=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 数据库字段status无需使用反引号转义,移除以保持代码简洁 --- .../com/agileboot/domain/shop/order/db/ShopOrderEntity.java | 2 +- .../agileboot/domain/shop/order/db/ShopOrderGoodsEntity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agileboot-domain/src/main/java/com/agileboot/domain/shop/order/db/ShopOrderEntity.java b/agileboot-domain/src/main/java/com/agileboot/domain/shop/order/db/ShopOrderEntity.java index dc3be8f..eec94e1 100644 --- a/agileboot-domain/src/main/java/com/agileboot/domain/shop/order/db/ShopOrderEntity.java +++ b/agileboot-domain/src/main/java/com/agileboot/domain/shop/order/db/ShopOrderEntity.java @@ -74,7 +74,7 @@ public class ShopOrderEntity extends BaseEntity { private BigDecimal totalAmount; @ApiModelProperty("订单状态(1待付款 2已付款 3已发货 4已完成 5已取消)") - @TableField("`status`") + @TableField("status") private Integer status; @ApiModelProperty("运行模式(0-支付模式 1-审批模式 2-借还模式 3-会员模式 4-耗材模式)") diff --git a/agileboot-domain/src/main/java/com/agileboot/domain/shop/order/db/ShopOrderGoodsEntity.java b/agileboot-domain/src/main/java/com/agileboot/domain/shop/order/db/ShopOrderGoodsEntity.java index ade2eb1..f896cd7 100644 --- a/agileboot-domain/src/main/java/com/agileboot/domain/shop/order/db/ShopOrderGoodsEntity.java +++ b/agileboot-domain/src/main/java/com/agileboot/domain/shop/order/db/ShopOrderGoodsEntity.java @@ -69,7 +69,7 @@ public class ShopOrderGoodsEntity extends BaseEntity { private String coverImg; @ApiModelProperty("商品状态(1正常 2已退货 3已换货 4已完成 5审核中 6退货未通过)") - @TableField("`status`") + @TableField("status") private Integer status; @ApiModelProperty("运行模式(0-支付模式 1-审批模式 2-借还模式 3-会员模式 4-耗材模式)")