Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
8b94991408
@ -0,0 +1,78 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\11\13 11:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_LINE")
|
||||
@Api("看板产线配置")
|
||||
public class MesBoardLine extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 5212593630787939081L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "PLAN_OEE")
|
||||
@ApiParam("目标OEE")
|
||||
private Double planOee;
|
||||
|
||||
@Column(name = "PLAN_TAKT")
|
||||
@ApiParam("计划节拍")
|
||||
private Integer planTakt;
|
||||
|
||||
@Column(name = "PASS_PERCENT_MAX")
|
||||
@ApiParam("良品率上限")
|
||||
private Double passPercentMax;
|
||||
|
||||
@Column(name = "PASS_PERCENT_MIN")
|
||||
@ApiParam("良品率下限")
|
||||
private Double passPercentMin;
|
||||
|
||||
@Column(name = "CAR_RUN_TIME")
|
||||
@ApiParam("小车运行时间(分)")
|
||||
private Integer carRunTime;
|
||||
|
||||
@Column(name = "TEST_CAR_SUM")
|
||||
@ApiParam("调试车数")
|
||||
private Integer testCarSum;
|
||||
|
||||
@Column(name = "PLAN_FIRST_PASS_YIELD")
|
||||
@ApiParam("一次良品率目标值")
|
||||
private Double planFirstPassYield;
|
||||
|
||||
@Column(name = "PLAN_PASS_YIELD")
|
||||
@ApiParam("最终良品率目标值")
|
||||
private Double planPassYield;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
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 : amy
|
||||
* @CreateDate : 2018-11-07 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_LINE_COORDS_MATRIX")
|
||||
@Api("MES_看板产线坐标")
|
||||
public class MesBoardLineCoordsMatrix extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -7823702941907604215L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "X_AXIS")
|
||||
@ApiParam("X坐标")
|
||||
private String xAxis;
|
||||
|
||||
@Column(name = "Y_AXIS")
|
||||
@ApiParam("Y坐标")
|
||||
private String yAxis;
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
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 : amy
|
||||
* @CreateDate : 2018-11-07 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_LINE_MATRIX")
|
||||
@Api("MES_看板产线矩阵")
|
||||
public class MesBoardLineMatrix extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 4414374274261870347L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "PICTURE_URL")
|
||||
@ApiParam("产线图片路径")
|
||||
private String pictureUrl;
|
||||
|
||||
@Column(name = "USER_FIRST")
|
||||
@ApiParam("用户编号1")
|
||||
private String userFirst;
|
||||
|
||||
@Column(name = "USER_SECOND")
|
||||
@ApiParam("用户编号2")
|
||||
private String userSecond;
|
||||
|
||||
@Column(name = "USER_THIRD")
|
||||
@ApiParam("用户编号3")
|
||||
private String userThird;
|
||||
|
||||
@Column(name = "USER_FORTH")
|
||||
@ApiParam("用户编号4")
|
||||
private String userForth;
|
||||
|
||||
@Column(name = "USER_FIFTH")
|
||||
@ApiParam("用户编号5")
|
||||
private String userFifth;
|
||||
|
||||
@Column(name = "USER_SIXTH")
|
||||
@ApiParam("用户编号6")
|
||||
private String userSixth;
|
||||
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
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 : amy
|
||||
* @CreateDate : 2018-11-07 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_LINE_STAFF_MATRIX")
|
||||
@Api("MES_看板产线员工能力矩阵")
|
||||
public class MesBoardLineStaffMatrix extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1889056360071546259L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "USER_CODE")
|
||||
@ApiParam("员工编号")
|
||||
private String userCode;
|
||||
|
||||
@Column(name = "X_AXIS")
|
||||
@ApiParam("X坐标")
|
||||
private Double xAxis;
|
||||
|
||||
@Column(name = "Y_AXIS")
|
||||
@ApiParam("Y坐标")
|
||||
private Double yAxis;
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/10/27 13:29
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_LINE_FAULT_RECORD")
|
||||
@Api("产线故障记录表")
|
||||
public class MesLineFaultRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6108659377329720059L;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "EQU_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equName;
|
||||
|
||||
@Column(name = "FAULT_TIME")
|
||||
@ApiParam("故障时长(分)")
|
||||
private Double faultTime;
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\16 15:03
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PLAN_TAKT")
|
||||
@Api("产线节拍表")
|
||||
public class MesPlanTakt extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "PLAN_TAKT")
|
||||
@ApiParam("节拍")
|
||||
private Integer planTakt;
|
||||
|
||||
|
||||
}
|
@ -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:
|
||||
* @CreateDate: 2020/10/26
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_REAL_TIME_TAKT")
|
||||
@Api("MES_实时节拍")
|
||||
public class MesRealTimeTakt extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2910474711746286558L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "REAL_TIME_TAKT")
|
||||
@ApiParam("实时节拍")
|
||||
private String realTimeTakt;
|
||||
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
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 javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : 员工信息
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2018-11-07 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STAFF")
|
||||
@Api("员工信息")
|
||||
public class MesStaff extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -8330599945613548761L;
|
||||
|
||||
@Column(name = "USER_CODE")
|
||||
@ApiParam("员工编号")
|
||||
private String userCode;
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam("姓名")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "PICTURE_URL")
|
||||
@ApiParam("照片路径")
|
||||
private String pictureUrl;
|
||||
|
||||
@Column(name = "SKILL_LEVEL")
|
||||
@ApiParam("技能等级")
|
||||
private Integer skillLevel;
|
||||
|
||||
@Transient
|
||||
private Double xAxis;
|
||||
|
||||
@Transient
|
||||
private Double yAxis;
|
||||
|
||||
@Transient
|
||||
private String workCellCode;
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :中航-每小时产量
|
||||
* @Reference :
|
||||
* @author: dominic
|
||||
* @date: 2020/10/23 13:46
|
||||
* @Modify:
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class MesBoardHourProductCountModel {
|
||||
@ApiParam("时间段")
|
||||
private String hour;
|
||||
|
||||
@ApiParam("计数")
|
||||
private Integer count;
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/9 15:35
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class TjMgnBoardEquipmentMonitorModel {
|
||||
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("横坐标")
|
||||
private Double xAxes = 0d;
|
||||
|
||||
@ApiParam("纵坐标")
|
||||
private Double yAxes = 0d;
|
||||
|
||||
@ApiParam("工位状态")
|
||||
private String workCellStatus;
|
||||
|
||||
@ApiParam("颜色")
|
||||
private String color;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/10/28 11:27 AM
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
public class BjBoardModel implements Serializable {
|
||||
|
||||
@ApiParam("jsa数量")
|
||||
private Integer jsaQty;
|
||||
@ApiParam("完成数量")
|
||||
private Integer completeQty;
|
||||
@ApiParam("总数量")
|
||||
private Integer totalQty;
|
||||
@ApiParam("预警数量")
|
||||
private Integer warnQty;
|
||||
@ApiParam("预警率")
|
||||
private Integer warnRate;
|
||||
@ApiParam("目标合格率")
|
||||
private Integer targetRate = 0;
|
||||
@ApiParam("一次合格率")
|
||||
private Integer onceQualityRate = 0;
|
||||
|
||||
@ApiParam("x坐标内容")
|
||||
private String xAxis;
|
||||
|
||||
@ApiParam("x坐标内容")
|
||||
private List<String> xAxisList;
|
||||
|
||||
@ApiParam("显示数据")
|
||||
private List<BjBoardSeriesModel> seriesModels;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/10/28 2:56 PM
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
public class BjBoardSeriesModel {
|
||||
@ApiParam("名称")
|
||||
private String name;
|
||||
@ApiParam("显示数量")
|
||||
private Integer qty;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import lombok.Data;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import com.thoughtworks.xstream.annotations.XStreamImplicit;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import lombok.Data;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import io.swagger.annotations.ApiParam;
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import lombok.Data;
|
@ -1,11 +1,10 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgnbj;
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.bj;
|
||||
|
||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.tj;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/10/28 17:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class AndonModel {
|
||||
|
||||
private String workCenterCode;
|
||||
|
||||
private Double xAxis;
|
||||
|
||||
private Double yAxis;
|
||||
|
||||
private String expInfo;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.tj;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/10/28 13:47
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class DefectModel {
|
||||
|
||||
private String workCenterCode;
|
||||
|
||||
private Map<String, Double> percents;
|
||||
|
||||
private Integer total;
|
||||
|
||||
private String queryBeginTime;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.tj;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/10/28 20:50
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class GoodRateModel {
|
||||
|
||||
private String workCenterCode;
|
||||
|
||||
private Double goodRate;
|
||||
|
||||
private Integer total;
|
||||
|
||||
private Integer goodTotal;
|
||||
|
||||
private String color;
|
||||
|
||||
private Double passPercentMax;
|
||||
|
||||
private Double passPercentMin;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.tj;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/10/28 13:47
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class OeeModel {
|
||||
|
||||
private String workCenterCode;
|
||||
|
||||
private Integer takt;
|
||||
|
||||
private Integer standardTakt;
|
||||
|
||||
private String color;
|
||||
|
||||
private Double threshold = 0.03;
|
||||
|
||||
private Double realProductivity;
|
||||
|
||||
private Double oeePercent;
|
||||
|
||||
private Double realWorkTime;
|
||||
|
||||
private String shiftBeginTime;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.tj;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/10/28 14:10
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class ProductivityModel {
|
||||
|
||||
private String time;
|
||||
|
||||
private Integer planProductivity;
|
||||
|
||||
private Integer realProductivity;
|
||||
|
||||
private boolean isCurrentInfo;
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.mgn.tj;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesStaff;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/10/28 21:44
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class StaffMatrixModel {
|
||||
|
||||
private List<String> workCenterCodes;
|
||||
|
||||
private String currentWorkCenterCode;
|
||||
|
||||
private String workCenterPictureUrl;
|
||||
|
||||
private List<MesStaff> staffs;
|
||||
|
||||
}
|
@ -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.MesBoardLineCoordsMatrix;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesBoardLineCoordsMatrixRepository extends BaseRepository<MesBoardLineCoordsMatrix, 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.MesBoardLineMatrix;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesBoardLineMatrixRepository extends BaseRepository<MesBoardLineMatrix, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBoardLine;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 8:53 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardLineRepository extends BaseRepository<MesBoardLine, 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.MesBoardLineStaffMatrix;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesBoardLineStaffMatrixRepository extends BaseRepository<MesBoardLineStaffMatrix, 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.MesLineFaultRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wynne.lu
|
||||
* @CreateDate : 2019-07-30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesLineFaultRecordRepository extends BaseRepository<MesLineFaultRecord, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPlanTakt;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\18 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesPlanTaktRepository extends BaseRepository<MesPlanTakt, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRealTimeTakt;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/10/26
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Repository
|
||||
public interface MesRealTimeTaktRepository extends BaseRepository<MesRealTimeTakt, 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.MesStaff;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesStaffRepository extends BaseRepository<MesStaff, Long> {
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.model.softswitch;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.BlockSoftSwitchEnumUtil;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseParam;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* 软适配执行适配器(客户端服务端适配总入口)
|
||||
* 所需的参数模型
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-10-28 15:51
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SuitModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 8981933192688480221L;
|
||||
|
||||
@ApiParam(value = "适配器代码")
|
||||
private String suitCaseCode;
|
||||
|
||||
@ApiParam(value = "适配SID")
|
||||
private String suitSid;
|
||||
|
||||
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.REQUEST_SOURCE.class)
|
||||
@ApiParam(value = "适配来源")
|
||||
private Integer requestSource;
|
||||
|
||||
@ApiParam(value = "重试记录id")
|
||||
private Long retryRecordId;
|
||||
|
||||
@ApiParam(value = "适配器参数XML")
|
||||
private String paramXml;
|
||||
|
||||
@ApiParam(value = "适配器参数")
|
||||
private List<BsSuitCaseParam> bsSuitCaseParamList;
|
||||
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
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.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2020-05-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "SWEB_MOVEMENT_TO_WMS")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class SwebMovementToWms extends BaseBean {
|
||||
private static final long serialVersionUID = -8089219927352225317L;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
@Column(name = "ITEM")
|
||||
@ApiParam("行号")
|
||||
public String item;
|
||||
|
||||
@Column(name = "VENDOR_NO")
|
||||
@ApiParam(value = "供应商编号")
|
||||
private String vendorNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
public String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "QTY", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "需求数量", example = "0")
|
||||
public Double qty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
public String unit;
|
||||
|
||||
@Column(name = "SRC_WH_NO")
|
||||
@ApiParam("源仓库代码")
|
||||
public String srcWhNo;
|
||||
|
||||
@Column(name = "DEST_ZONE_NO")
|
||||
@ApiParam("目标存储区代码")
|
||||
public String destZoneNo;
|
||||
|
||||
/**
|
||||
* 移动类型:IN=入库,OUT=出库,MOVE=移库
|
||||
*/
|
||||
@Column(name = "MOVE_TYPE")
|
||||
@ApiParam("移动类型")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.OUT_MOVEMENT_MOVE_TYPE.class, refForeignKey = "value", value = "description")
|
||||
public Integer moveType;
|
||||
/**
|
||||
* 业务类型:RC=收货,QC=质检,IN=入库,ZI=杂收,ZO=杂发,
|
||||
* VJ=供应商退货,CJ=客户退货,WP=工单领料,WJ=工单退料,
|
||||
* MI=移库入库,MO=移库出库,SO=发运
|
||||
*/
|
||||
@Column(name = "BUSI_TYPE")
|
||||
@ApiParam("业务类型")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.OUT_MOVEMENT_BUSI_TYPE.class, refForeignKey = "value", value = "description")
|
||||
public Integer busiType;
|
||||
|
||||
/**
|
||||
* 状态:1=创建,10=待处理,20=已处理
|
||||
*/
|
||||
@Column(name="ITEM_STATUS")
|
||||
@ApiParam(value = "状态", example = "0")
|
||||
public Integer itemStatus;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
}
|
@ -1,118 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.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.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2020-06-10
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "SWEB_PO_SN_TO_WMS")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class SwebPoSnToWms extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 746409789382994374L;
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
@ApiParam("供应商编号")
|
||||
@Column(name = "VENDOR_CODE")
|
||||
private String vendorCode;
|
||||
|
||||
@ApiParam("供应商名称")
|
||||
@Column(name = "VENDOR_NAME")
|
||||
private String vendorName;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam(value = "零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam(value = "零件名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam("零件类型")
|
||||
@Column(name = "PART_TYPE")
|
||||
private Integer partType;
|
||||
|
||||
@ApiParam(value = "单位")
|
||||
@Column(name = "UNIT")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "BOX_QTY")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "箱数", example = "0")
|
||||
private Integer boxQty;
|
||||
|
||||
@Column(name = "SERIAL_NO")
|
||||
@ApiParam(value = "序列号")
|
||||
private String serialNo;
|
||||
|
||||
@Column(name = "SN")
|
||||
@ApiParam(value = "箱条码")
|
||||
private String sn;
|
||||
|
||||
@Column(name = "ERP_WAREHOUSE")
|
||||
@ApiParam("库存地")
|
||||
private String erpWarehouse;
|
||||
|
||||
@Column(name = "PRODUCTION_TIME")
|
||||
@ApiParam(value = "产生时间")
|
||||
private String productionTime;
|
||||
|
||||
@Column(name = "PRINT_TIME")
|
||||
@ApiParam(value = "打印时间")
|
||||
private String printTime;
|
||||
|
||||
@Column(name = "PRINTS")
|
||||
@ApiParam("打印次数")
|
||||
private Integer prints;
|
||||
|
||||
@Column(name = "CHECK_CODE")
|
||||
@ApiParam(value = "检验编号")
|
||||
private String checkCode;
|
||||
|
||||
@Column(name = "STOVE_NO")
|
||||
@ApiParam(value = "特殊批号")
|
||||
private String stoveNo;
|
||||
|
||||
@Column(name = "BATCH_NO")
|
||||
@ApiParam(value = "批次号")
|
||||
private String batchNo;
|
||||
|
||||
@ApiParam("是否同步")
|
||||
@Column(name = "IS_SYN")
|
||||
private String isSyn;
|
||||
|
||||
@Column(name = "REC_TIME")
|
||||
@ApiParam(value = "收货时间")
|
||||
private String recTime;
|
||||
|
||||
@Column(name = "PACKAGE_NO")
|
||||
@ApiParam(value = "包装编号")
|
||||
private String packageNo;
|
||||
|
||||
@ColumnDefault("0")
|
||||
@Column(name = "WEIGHT")
|
||||
@ApiParam(value = "重量")
|
||||
private Double weight;
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.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.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2020-05-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "SWEB_PO_TO_WMS")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class SwebPoToWms extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -3999194389200855165L;
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
@Column(name = "VERSION")
|
||||
@ApiParam("版本")
|
||||
public String version;
|
||||
|
||||
@Column(name = "ITEM")
|
||||
@ApiParam("行号")
|
||||
private Integer item;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "QTY", columnDefinition = "decimal(18,8)", nullable = false)
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "需求数量", example = "0")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "VENDOR_NO")
|
||||
@ApiParam("供应商")
|
||||
private String vendorNo;
|
||||
|
||||
@Column(name = "PRINT_QTY", columnDefinition = "decimal(18,8)", nullable = false)
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "条码打印数量", example = "0")
|
||||
private Double printQty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "PLAN_DATE")
|
||||
@ApiParam("计划交货日期")
|
||||
private String planDate;
|
||||
|
||||
@Column(name = "PLAN_TIME")
|
||||
@ApiParam("计划交货时间")
|
||||
private String planTime;
|
||||
|
||||
@Column(name = "ERP_AREA_NO")
|
||||
@ApiParam("默认收货库存地")
|
||||
private String erpAreaNo;
|
||||
|
||||
@Column(name = "SNP", columnDefinition = "decimal(18,8)")
|
||||
@ApiParam("标准包装")
|
||||
private Double snp;
|
||||
|
||||
/**
|
||||
* 状态:1=创建,10=待处理,20=已处理
|
||||
*/
|
||||
@Column(name="ITEM_STATUS")
|
||||
@ApiParam(value = "状态", example = "0")
|
||||
public Integer itemStatus;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.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 :
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2020-05-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PO_TO_SWEB")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class WmsPoToSweb extends BaseBean {
|
||||
private static final long serialVersionUID = 4710841067412420270L;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
/**
|
||||
* 状态:1=创建,10=待处理,20=已处理
|
||||
*/
|
||||
@Column(name="ITEM_STATUS")
|
||||
@ApiParam(value = "状态", example = "0")
|
||||
public Integer itemStatus;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.sweb.bean.SwebMovementToWms;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface SwebMovementToWmsRepository extends BaseRepository<SwebMovementToWms, Long> {
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.sweb.bean.SwebPoToWms;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface SwebPoToWmsRepository extends BaseRepository<SwebPoToWms, Long> {
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.sweb.bean.WmsPoToSweb;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface WmsPoToSwebRepository extends BaseRepository<WmsPoToSweb, Long> {
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
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 :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-10-28 9:54
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PLC")
|
||||
@Api("WMSPLC配置表")
|
||||
public class WmsPlc extends BaseBean {
|
||||
|
||||
@Column(name = "PLC_CODE")
|
||||
@ApiParam("PLC代码")
|
||||
private String plcCode;
|
||||
|
||||
@Column(name = "PLC_NAME")
|
||||
@ApiParam("PLC名称")
|
||||
private String plcName;
|
||||
|
||||
@Column(name = "BUSI_TYPE")
|
||||
@ApiParam("业务类型")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.PLC_BUSI_TYPE.class)
|
||||
private Integer busiType;
|
||||
|
||||
@Column(name = "OPC_URL")
|
||||
@ApiParam("OPC路径")
|
||||
private String opcUrl;
|
||||
|
||||
@Column(name = "CHANNEL")
|
||||
@ApiParam("通道")
|
||||
private String channel;
|
||||
|
||||
@Column(name = "DEVICE")
|
||||
@ApiParam("终端")
|
||||
private String device;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam("标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam("标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiParam("标签数据类型")
|
||||
private String dataType;
|
||||
|
||||
/*@Column(name = "DATA_TYPE")
|
||||
@ApiParam("标签类别")
|
||||
private Integer dataType;*/
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam("用户名")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "PASSWORD")
|
||||
@ApiParam("密码")
|
||||
private String password;
|
||||
|
||||
@Column(name = "START_VALUE")
|
||||
@ApiParam("开始节点")
|
||||
private Integer startValue;
|
||||
|
||||
@Column(name = "end_VALUE")
|
||||
@ApiParam("结束节点")
|
||||
private Integer endValue;
|
||||
|
||||
@Column(name = "NAME_SPACE_INDEX")
|
||||
@ApiParam("空间索引")
|
||||
private Integer nameSpaceIndex = 2;
|
||||
|
||||
@Column(name = "REQUEST_INTERVAL")
|
||||
@ApiParam("请求间隔")
|
||||
private Double requestInterval = 500.0;
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.SnapshotBean;
|
||||
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.Index;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : ERP COGI快照
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-24 18:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_COGI_SNAPSHOT", indexes = {
|
||||
@Index(columnList = "PART_NO"),
|
||||
@Index(columnList = "AREA_NO"),
|
||||
@Index(columnList = "ORGANIZE_CODE"),
|
||||
@Index(columnList = "SNAPSHOT_TIME"),
|
||||
@Index(columnList = "MOVE_TYPE")
|
||||
})
|
||||
public class WmsErpCOGISnapshot extends SnapshotBean {
|
||||
private static final long serialVersionUID = -4095222692227226944L;
|
||||
|
||||
@Column(name="SNAPSHOT_TIME")
|
||||
@ApiParam("快照时间")
|
||||
private String snapshotTime;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam("库存地点")
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "MOVE_TYPE")
|
||||
@ApiParam("移动类型")
|
||||
private String moveType;
|
||||
|
||||
@Column(name = "KEYIN_TIME")
|
||||
@ApiParam("录入时间")
|
||||
private String keyInTime;
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
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 : ERP 数据快照时间
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-24 18:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_CHECK_POINT")
|
||||
public class WmsErpCheckPoint extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 5589607687871639189L;
|
||||
|
||||
@Column(name="SNAPSHOT_TIME", columnDefinition="varchar(225) default ''", nullable=false)
|
||||
@ApiParam("快照时间")
|
||||
public String snapshotTime;
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.SnapshotBean;
|
||||
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.Index;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : ERP 报文接口快照
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-24 18:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_INTERFACE_SNAPSHOT", indexes = {
|
||||
@Index(columnList = "SID"),
|
||||
@Index(columnList = "SENDER"),
|
||||
@Index(columnList = "ORGANIZE_CODE"),
|
||||
@Index(columnList = "RECEIVER"),
|
||||
@Index(columnList = "SNAPSHOT_TIME")
|
||||
})
|
||||
public class WmsErpInterfaceSnapshot extends SnapshotBean {
|
||||
private static final long serialVersionUID = -4095333692227226944L;
|
||||
|
||||
@Column(name="SNAPSHOT_TIME")
|
||||
@ApiParam("快照时间")
|
||||
public String snapshotTime;
|
||||
|
||||
@Column(name = "SID")
|
||||
@ApiParam("业务唯一编号")
|
||||
public String sid;
|
||||
|
||||
@Column(name = "SENDER")
|
||||
@ApiParam("发送方")
|
||||
public String sender;
|
||||
|
||||
@Column(name = "SEND_TIME")
|
||||
@ApiParam("发出时间")
|
||||
public String sendTime;
|
||||
|
||||
@Column(name = "RECEIVER")
|
||||
@ApiParam("接收方")
|
||||
public String receiver;
|
||||
|
||||
@Column(name = "RECEIVED_TIME")
|
||||
@ApiParam("接收时间")
|
||||
public String receivedTime;
|
||||
|
||||
@Column(name = "TRANS_TIME")
|
||||
@ApiParam("处理时间")
|
||||
public String transTime;
|
||||
|
||||
@Column(name = "TRANS_STATUS")
|
||||
@ApiParam("处理状态")
|
||||
public String transStatus;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
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 : ERP 库存比对包含的库存地点
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-27 14:06
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_QUAN_AREAS")
|
||||
public class WmsErpQuanAreas extends BaseBean implements Comparable<WmsErpQuanAreas> {
|
||||
private static final long serialVersionUID = 5560607687871639209L;
|
||||
|
||||
@Column(name="AREA_NO")
|
||||
@ApiParam("库存地点")
|
||||
public String areaNo;
|
||||
|
||||
@Override
|
||||
public int compareTo(WmsErpQuanAreas o) {
|
||||
return this.getAreaNo().compareTo(o.getAreaNo());
|
||||
}
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.SnapshotBean;
|
||||
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.Index;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : ERP 库存结余快照
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-24 18:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_STOCK_QUAN_SNAPSHOT", indexes = {
|
||||
@Index(columnList = "PART_NO"),
|
||||
@Index(columnList = "AREA_NO"),
|
||||
@Index(columnList = "ORGANIZE_CODE"),
|
||||
@Index(columnList = "SNAPSHOT_TIME")
|
||||
})
|
||||
public class WmsErpStockQuanSnapshot extends SnapshotBean {
|
||||
private static final long serialVersionUID = -4095444692227226944L;
|
||||
|
||||
@Column(name="SNAPSHOT_TIME")
|
||||
@ApiParam("快照时间")
|
||||
public String snapshotTime;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam("库存地点")
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.erp.WmsErpCOGISnapshot;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface WmsErpCOGIRepository extends BaseRepository<WmsErpCOGISnapshot, Long> {
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue