From 6f0df4d0eb3f8c6294f7dae47f76e193f70317d2 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Thu, 18 Apr 2024 16:22:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/lihongjie/coal/sms/entity/SmsEntity.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/main/java/cn/lihongjie/coal/sms/entity/SmsEntity.java b/src/main/java/cn/lihongjie/coal/sms/entity/SmsEntity.java index ccca58a3..fedd4caf 100644 --- a/src/main/java/cn/lihongjie/coal/sms/entity/SmsEntity.java +++ b/src/main/java/cn/lihongjie/coal/sms/entity/SmsEntity.java @@ -7,7 +7,6 @@ import jakarta.persistence.Entity; import lombok.Data; import org.hibernate.annotations.Comment; -import org.hibernate.annotations.Formula; @Data @Entity @@ -30,13 +29,6 @@ public class SmsEntity extends OrgCommonEntity { @Comment("ε‘ι€ηŠΆζ€") private String execStatus; - @Formula( - "(select i.name\n" - + "from t_dictionary d,\n" - + " t_dictionary_item i\n" - + "where d.id = i.dictionary_id\n" - + " and d.code = 'common.execStatus'\n" - + " and i.code = exec_status)") - private String execStatusName; + }