订单池增加索引

yun-zuoyi
joke.wang 4 years ago
parent e1f366f654
commit c0ff7ce986

@ -6,16 +6,13 @@ import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.*;
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 java.io.Serializable;
/**
@ -29,7 +26,11 @@ import java.io.Serializable;
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Inheritance(strategy = InheritanceType.JOINED)
@Table(name = "IF_EDI_INITIAL_DATA")
@Table(name = "IF_EDI_INITIAL_DATA", indexes = {
@Index(columnList = "PROGRAM_DATA"),
@Index(columnList = "CONTENT"),
@Index(columnList = "SYNC_STATUS")
})
@Api("EDI_初始数据表")
public class IfEdiInitialData extends BaseBean implements Serializable {
private static final long serialVersionUID = -523843818485699827L;

@ -4,15 +4,13 @@ import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.*;
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 java.io.Serializable;
/**
@ -27,7 +25,11 @@ import java.io.Serializable;
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Inheritance(strategy = InheritanceType.JOINED)
@Table(name = "MES_JIT_LOCK_CACHE")
@Table(name = "MES_JIT_LOCK_CACHE", indexes = {
@Index(columnList = "JIT_ACTUAL_NO"),
@Index(columnList = "WO_TYPE"),
@Index(columnList = "STATUS")
})
@Api("MES_JIT队列锁定池")
public class MesJitLockCache extends BaseBean implements Serializable {

@ -4,15 +4,13 @@ import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.*;
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 java.io.Serializable;
/**
@ -27,7 +25,11 @@ import java.io.Serializable;
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Inheritance(strategy = InheritanceType.JOINED)
@Table(name = "MES_JIT_ORDER_CACHE")
@Table(name = "MES_JIT_ORDER_CACHE", indexes = {
@Index(columnList = "JIT_ACTUAL_NO"),
@Index(columnList = "WO_TYPE"),
@Index(columnList = "STATUS")
})
@Api("MES_JIT队列订单池")
public class MesJitOrderCache extends BaseBean implements Serializable {
private static final long serialVersionUID = -613326904053045367L;

Loading…
Cancel
Save