From e7918f903931289a533ed8be73992eb480b29334 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Mon, 2 Dec 2024 16:27:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(web):=20=E9=81=BF=E5=85=8Dh2=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E5=85=B3=E9=94=AE=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gringotts/web/domain/check/entity/CheckOrder.java | 10 +++++----- .../confirmation/service/ConfirmationService.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gringotts-web/src/main/java/com/eshore/gringotts/web/domain/check/entity/CheckOrder.java b/gringotts-web/src/main/java/com/eshore/gringotts/web/domain/check/entity/CheckOrder.java index 609c7a0..dcb9d74 100644 --- a/gringotts-web/src/main/java/com/eshore/gringotts/web/domain/check/entity/CheckOrder.java +++ b/gringotts-web/src/main/java/com/eshore/gringotts/web/domain/check/entity/CheckOrder.java @@ -45,7 +45,7 @@ import org.springframework.data.jpa.domain.support.AuditingEntityListener; @NoArgsConstructor public class CheckOrder extends SimpleEntity { @Column(nullable = false) - private String key; + private String keyword; @Column(nullable = false) private String description; @Column(nullable = false) @@ -73,14 +73,14 @@ public class CheckOrder extends SimpleEntity { private Boolean over = false; public CheckOrder( - String key, + String keyword, String description, Type type, String parameters, String targetClass, User targetUser ) { - this.key = key; + this.keyword = keyword; this.description = description; this.type = type; this.parameters = parameters; @@ -90,14 +90,14 @@ public class CheckOrder extends SimpleEntity { } public CheckOrder( - String key, + String keyword, String description, Type type, String parameters, String targetClass, User.Role targetRole ) { - this.key = key; + this.keyword = keyword; this.description = description; this.type = type; this.parameters = parameters; diff --git a/gringotts-web/src/main/java/com/eshore/gringotts/web/domain/confirmation/service/ConfirmationService.java b/gringotts-web/src/main/java/com/eshore/gringotts/web/domain/confirmation/service/ConfirmationService.java index 1ba27e1..d4ce51d 100644 --- a/gringotts-web/src/main/java/com/eshore/gringotts/web/domain/confirmation/service/ConfirmationService.java +++ b/gringotts-web/src/main/java/com/eshore/gringotts/web/domain/confirmation/service/ConfirmationService.java @@ -69,7 +69,7 @@ public class ConfirmationService extends SimpleServiceSupport impl @Override public void onChecked(CheckOrder order, CheckOrder.Operation operation, ImmutableMap parameters) { - if (StrUtil.equals(order.getKey(), "confirmation_check")) { + if (StrUtil.equals(order.getKeyword(), "confirmation_check")) { Long id = (Long) parameters.get("confirmationId"); switch (operation) { case APPLY: