From bc5beeba7d9c8b8fa2e2b8521384700ae9dfb98d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=AA=E4=BA=91=E6=98=8A?= Date: Mon, 9 Dec 2019 10:26:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=80=82=E9=85=8D=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/softswitch/bean/BsSuitDataDetail.java | 14 ++++++++------ .../cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecord.java | 14 ++++++++------ .../i3plus/pojo/softswitch/bean/BsSuitRecordParam.java | 5 ++++- .../i3plus/pojo/softswitch/bean/BsSuitRequestRecord.java | 10 +++++----- 4 files changed, 25 insertions(+), 18 deletions(-) diff --git a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitDataDetail.java b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitDataDetail.java index 403d234..fc7941e 100644 --- a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitDataDetail.java +++ b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitDataDetail.java @@ -9,11 +9,8 @@ import lombok.Data; import lombok.EqualsAndHashCode; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.Lob; -import javax.persistence.Table; -import javax.persistence.Transient; + +import javax.persistence.*; import java.util.List; /** @@ -28,7 +25,12 @@ import java.util.List; @DynamicInsert @DynamicUpdate @EqualsAndHashCode(callSuper = true) -@Table(name = "BS_SUIT_DATA_DETAIL") +@Table(name = "BS_SUIT_DATA_DETAIL",indexes = { + @Index(name="index_suit_record_id",columnList = "SUIT_RECORD_ID"), + @Index(name="index_suit_case_name_rdd",columnList = "SUIT_CASE_NAME_RDD"), + @Index(name="index_suit_case_code",columnList = "SUIT_CASE_CODE"), + @Index(name="index_create_date_time",columnList = "CREATE_DATE_TIME") +}) @Api(value = "适配报文详情", description = "适配报文详情") public class BsSuitDataDetail extends BaseBean { diff --git a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecord.java b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecord.java index 260df43..bf91b56 100644 --- a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecord.java +++ b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecord.java @@ -9,11 +9,8 @@ import lombok.Data; import lombok.EqualsAndHashCode; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.Lob; -import javax.persistence.Table; -import javax.persistence.Transient; + +import javax.persistence.*; import java.util.List; /** @@ -28,7 +25,12 @@ import java.util.List; @DynamicInsert @DynamicUpdate @EqualsAndHashCode(callSuper = true) -@Table(name = "BS_SUIT_RECORD") +@Table(name = "BS_SUIT_RECORD",indexes = { + @Index(name="index_suit_case_name_rdd",columnList = "SUIT_CASE_NAME_RDD"), + @Index(name="index_suit_case_code",columnList = "SUIT_CASE_CODE"), + @Index(name="index_create_date_time",columnList = "CREATE_DATE_TIME"), + @Index(name="index_process_time",columnList = "PROCESS_TIME"), +}) @Api(value = "适配记录", description = "适配记录") public class BsSuitRecord extends BaseBean { diff --git a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecordParam.java b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecordParam.java index 5b384ce..979b61d 100644 --- a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecordParam.java +++ b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRecordParam.java @@ -9,6 +9,7 @@ import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; import javax.persistence.Column; import javax.persistence.Entity; +import javax.persistence.Index; import javax.persistence.Table; /** @@ -23,7 +24,9 @@ import javax.persistence.Table; @DynamicInsert @DynamicUpdate @EqualsAndHashCode(callSuper = true) -@Table(name = "SUIT_RECORD_PARAM") +@Table(name = "SUIT_RECORD_PARAM",indexes = { + @Index(name="index_suit_record_id",columnList = "SUIT_RECORD_ID"), +}) @Api(value = "适配记录参数", description = "适配记录参数") public class BsSuitRecordParam extends BaseBean { diff --git a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRequestRecord.java b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRequestRecord.java index e00832f..b2cebdb 100644 --- a/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRequestRecord.java +++ b/modules/i3plus-pojo-softswitch/src/main/java/cn/estsh/i3plus/pojo/softswitch/bean/BsSuitRequestRecord.java @@ -9,10 +9,8 @@ import lombok.Data; import lombok.EqualsAndHashCode; import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicUpdate; -import javax.persistence.Column; -import javax.persistence.Entity; -import javax.persistence.Lob; -import javax.persistence.Table; + +import javax.persistence.*; /** * @Description : 请求适配记录 @@ -26,7 +24,9 @@ import javax.persistence.Table; @DynamicInsert @DynamicUpdate @EqualsAndHashCode(callSuper = true) -@Table(name = "BS_SUIT_REQUEST_RECORD") +@Table(name = "BS_SUIT_REQUEST_RECORD",indexes = { + @Index(name="index_suit_record_id",columnList = "SUIT_RECORD_ID"), +}) @Api(value = "请求适配记录", description = "请求适配记录") public class BsSuitRequestRecord extends BaseBean {