JSA JSP表增加索引

yun-zuoyi
joke.wang 5 years ago
parent 148ef03e78
commit 7a33df666b

@ -9,10 +9,7 @@ import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
@ -28,7 +25,12 @@ import java.util.Date;
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_QUEUE_JIT_ACTUAL")
@Table(name = "MES_QUEUE_JIT_ACTUAL", indexes = {
@Index(columnList = "JIS_ACTUAL_NO"),
@Index(columnList = "ORGANIZE_CODE"),
@Index(columnList = "VIN_CODE"),
@Index(columnList = "JIT_SEQ")
})
@NoArgsConstructor
@AllArgsConstructor
@Builder

@ -10,6 +10,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import java.io.Serializable;
@ -28,7 +29,12 @@ import java.io.Serializable;
@AllArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_QUEUE_JIT_ACTUAL_BOM")
@Table(name = "MES_QUEUE_JIT_ACTUAL_BOM", indexes = {
@Index(columnList = "JIS_ACTUAL_NO"),
@Index(columnList = "ORGANIZE_CODE"),
@Index(columnList = "PRODUCE_CTGY_CODE"),
@Index(columnList = "PART_NO")
})
@Api("客户JIT生产队列散件清单")
public class MesQueueJitActualBom extends BaseBean implements Serializable {
private static final long serialVersionUID = 1604529847020812472L;

@ -7,10 +7,7 @@ import lombok.*;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.*;
import java.io.Serializable;
/**
@ -27,7 +24,12 @@ import java.io.Serializable;
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@Builder
@Table(name = "MES_QUEUE_JIT_ACTUAL_DETAIL")
@Table(name = "MES_QUEUE_JIT_ACTUAL_DETAIL", indexes = {
@Index(columnList = "JIS_ACTUAL_NO"),
@Index(columnList = "ORGANIZE_CODE"),
@Index(columnList = "PART_NO"),
@Index(columnList = "PRODUCE_CTGY_CODE")
})
@Api("MES_客户JIT生产队列明细")
public class MesQueueJitActualDetail extends BaseBean implements Serializable {

@ -9,11 +9,7 @@ import org.hibernate.annotations.ColumnDefault;
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.io.Serializable;
/**
@ -28,7 +24,11 @@ import java.io.Serializable;
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_QUEUE_JIT_PLAN")
@Table(name = "MES_QUEUE_JIT_PLAN", indexes = {
@Index(columnList = "JIS_PLAN_NO"),
@Index(columnList = "ORGANIZE_CODE"),
@Index(columnList = "VIN_CODE")
})
@Api("MES_客户JIT预装队列")
public class MesQueueJitPlan extends BaseBean implements Serializable {

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import java.io.Serializable;
@ -26,7 +27,12 @@ import java.io.Serializable;
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_QUEUE_JIT_PLAN_BOM")
@Table(name = "MES_QUEUE_JIT_PLAN_BOM", indexes = {
@Index(columnList = "JIS_PLAN_NO"),
@Index(columnList = "ORGANIZE_CODE"),
@Index(columnList = "PRODUCE_CTGY_CODE"),
@Index(columnList = "PART_NO")
})
@Api("MES_客户JIT预装队列BOM")
public class MesQueueJitPlanBom extends BaseBean implements Serializable {

@ -8,10 +8,7 @@ import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.*;
import java.io.Serializable;
/**
@ -26,7 +23,12 @@ import java.io.Serializable;
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_QUEUE_JIT_PLAN_DETAIL")
@Table(name = "MES_QUEUE_JIT_PLAN_DETAIL", indexes = {
@Index(columnList = "JIS_PLAN_NO"),
@Index(columnList = "ORGANIZE_CODE"),
@Index(columnList = "PRODUCE_CTGY_CODE"),
@Index(columnList = "PART_NO")
})
@Api("MES_客户JIT预装队列明细")
public class MesQueueJitPlanDetail extends BaseBean implements Serializable {

@ -27,7 +27,8 @@ import java.io.Serializable;
@Table(name = "MES_QUEUE_ORDER_BOM", indexes = {
@Index(columnList = "ORGANIZE_CODE"),
@Index(columnList = "ORDER_NO"),
@Index(columnList = "PART_NO")
@Index(columnList = "PART_NO"),
@Index(columnList = "PRODUCE_CTGY_CODE")
})
@Api("MES_生产队列散件清单")
public class MesQueueOrderBom extends BaseBean implements Serializable {

Loading…
Cancel
Save