Merge remote-tracking branch 'origin/test' into test
commit
4dd875a691
@ -0,0 +1,80 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
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 java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: dominic
|
||||
* @CreateDate: 2020/10/29 14:11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "IF_PACKAGE")
|
||||
@Api("料箱表")
|
||||
public class IfPackage extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 9099416791684702129L;
|
||||
|
||||
@Column(name = "PACKAGE_NO")
|
||||
@ApiParam("包装编号")
|
||||
private String packageNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "QTY", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "PORCESS_NAME")
|
||||
@ApiParam("工序名称")
|
||||
private String porcessName;
|
||||
|
||||
@Column(name = "RK_TYPE")
|
||||
@ApiParam("料架类型")
|
||||
private String rkType;
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "ACTION_DATE_TIME")
|
||||
@ApiParam("操作时间")
|
||||
private String actionDateTime;
|
||||
|
||||
@Column(name = "ACTION_USER")
|
||||
@ApiParam("操作人")
|
||||
private String actionUser;
|
||||
|
||||
@Column(name = "ERROR_MESSAGE")
|
||||
@ApiParam("异常消息")
|
||||
private String errorMessage;
|
||||
|
||||
@Column(name = "IF_CODE")
|
||||
@ApiParam("接口代码")
|
||||
private String ifCode;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
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.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : MES_容器位置
|
||||
* @Reference :
|
||||
* @Author : dominic.xiao
|
||||
* @CreateDate : 2020-11-02 17:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CONTAINER_LOCATION")
|
||||
@Api("MES_容器位置")
|
||||
public class MesContainerLocation extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 8181007288150974903L;
|
||||
|
||||
@Column(name = "CT_CODE")
|
||||
@ApiParam(value = "容器类型代码")
|
||||
private String ctCode;
|
||||
|
||||
@Column(name = "CT_LOCATION_NO")
|
||||
@ApiParam(value = "容器位置编号")
|
||||
private String ctLocationNo;
|
||||
|
||||
@Column(name = "LOCATION_CAPACITY")
|
||||
@ApiParam(value = "默认容量")
|
||||
private String locationCapacity;
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
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.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : MES_客户条码规则
|
||||
* @Reference :
|
||||
* @Author : dominic.xiao
|
||||
* @CreateDate : 2020-11-02 18:19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CUSTOMER_SN_RULE")
|
||||
@Api("MES_客户条码规则")
|
||||
public class MesCustomerSnRule extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -3928160156339420471L;
|
||||
|
||||
@Column(name = "CUSTOMER_CODE")
|
||||
@ApiParam(value = "客户代码")
|
||||
private String customerCode;
|
||||
|
||||
@Column(name = "CUSTOMER_PART_NO")
|
||||
@ApiParam(value = "客户零件号")
|
||||
private String customerPartNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam(value = "物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "LENGTH")
|
||||
@ApiParam(value = "长度")
|
||||
private Integer length;
|
||||
|
||||
@Column(name = "FROM1")
|
||||
@ApiParam(value = "起始1")
|
||||
private Integer from1;
|
||||
|
||||
@Column(name = "TO1")
|
||||
@ApiParam(value = "至1")
|
||||
private Integer to1;
|
||||
|
||||
@Column(name = "FIX1")
|
||||
@ApiParam(value = "内容1")
|
||||
private String fix1;
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
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.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: dominic
|
||||
* @CreateDate: 2020\11\13 09:59
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_DEFECT_LOCATION")
|
||||
@Api("产品缺陷位置")
|
||||
public class MesDefectLocation extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "DEFECT_LOCATION")
|
||||
@ApiParam("缺陷位置代码")
|
||||
private String defectLocation;
|
||||
|
||||
@Column(name = "DEFECT_NAME")
|
||||
@ApiParam("缺陷位置名称")
|
||||
private String defectName;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
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.Table;
|
||||
|
||||
/**
|
||||
* @Description : MES_产品容器容量配置
|
||||
* @Reference :
|
||||
* @Author : dominic.xiao
|
||||
* @CreateDate : 2020-11-02 18:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PART_CONTAINER_CAPACITY")
|
||||
@Api("MES_产品容器容量配置")
|
||||
public class MesPartContainerCapacity extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 6438819635320965628L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam(value = "物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "CT_CODE")
|
||||
@ApiParam(value = "容器类型代码")
|
||||
private String ctCode;
|
||||
|
||||
@Column(name = "CT_LOCATION_NO")
|
||||
@ApiParam(value = "容器位置编号")
|
||||
private String ctLocationNo;
|
||||
|
||||
@Column(name = "CT_QTY")
|
||||
@ApiParam(value = "容量")
|
||||
private Integer ctQty;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesContainerLocation;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: dominic
|
||||
* @CreateDate: 2020\11\4 11:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesContainerLocationRepository extends BaseRepository<MesContainerLocation, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustomerSnRule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: dominic
|
||||
* @CreateDate: 2020\11\4 13:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesCustomerSnRuleRepository extends BaseRepository<MesCustomerSnRule, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartContainerCapacity;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2020-11-10
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPartContainerCapacityRepository extends BaseRepository<MesPartContainerCapacity, Long> {
|
||||
}
|
Loading…
Reference in New Issue