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 {