Merge remote-tracking branch 'origin/dev' into dev
commit
398207b875
@ -0,0 +1,52 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 4:49 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD")
|
||||
@Api("MES_看板")
|
||||
public class MesBoard extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3932883110518753734L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "BOARD_NAME")
|
||||
@ApiParam("看板名称")
|
||||
private String boardName;
|
||||
|
||||
@Column(name = "BOARD_TYPE")
|
||||
@ApiParam("看板类型")
|
||||
private String boardType;
|
||||
|
||||
@Column(name = "REFRESH_INTERVAL")
|
||||
@ApiParam("刷新时间")
|
||||
private Integer refreshInterval;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:07 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_EQU_DETAIL")
|
||||
@Api("MES_看板设备明细")
|
||||
public class MesBoardEquDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2187463105092165451L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "EQU_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equCode;
|
||||
|
||||
@Column(name = "EQU_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equName;
|
||||
|
||||
@ApiParam(value = "横坐标")
|
||||
private Float horizontalAxis = 0f;
|
||||
|
||||
@ApiParam(value = "纵坐标")
|
||||
private Float verticalAxis = 0f;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:01 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_EQU_STATUS")
|
||||
@Api("MES_看板设备状态")
|
||||
public class MesBoardEquStatus extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8426698586967483537L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "EQU_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equCOde;
|
||||
|
||||
@Column(name = "EQU_STATUS_CODE")
|
||||
@ApiParam("状态代码")
|
||||
private Integer equStatusCode;
|
||||
|
||||
@Column(name = "EQU_STATUS_DESC")
|
||||
@ApiParam("状态描述")
|
||||
private String equStatusDesc;
|
||||
|
||||
@Column(name = "COLOR")
|
||||
@ApiParam("颜色")
|
||||
private String color;
|
||||
}
|
@ -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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:19 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_MONITOR_OBJECT")
|
||||
@Api("MES_看板监控对象")
|
||||
public class MesBoardMonitorObject extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4136991652901768961L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "OBJECT_TYPE")
|
||||
@ApiParam("对象类型")
|
||||
private String objectType;
|
||||
|
||||
@Column(name = "OBJECT_VALUE")
|
||||
@ApiParam("对象值")
|
||||
private String objectValue;
|
||||
|
||||
@Column(name = "OBJECT_VALUE_DESC")
|
||||
@ApiParam("对象值描述")
|
||||
private String objectValueDesc;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 4:53 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_PICTURE")
|
||||
@Api("MES_看板图片")
|
||||
public class MesBoardPicture extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5784111763887252647L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "PICTURE_URL")
|
||||
@ApiParam("图片路径")
|
||||
private String pictureUrl;
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
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;
|
||||
|
||||
import java.util.List;
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 6:49 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_PLAN_CAPACITY")
|
||||
@Api("MES_看板计划产能")
|
||||
public class MesBoardPlanCapacity extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 7355311263972875850L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "PLAN_DATE")
|
||||
@ApiParam("计划日期")
|
||||
private String planDate;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "PLAN_PEOPLE_NUM")
|
||||
@ApiParam("计划人数")
|
||||
private Integer planPeopleNum;
|
||||
|
||||
@Column(name = "ACTUAL_PEOPLE_NUM")
|
||||
@ApiParam("实际人数")
|
||||
private Integer actualPeopleNum;
|
||||
|
||||
@Column(name = "PLAN_CAPACITY")
|
||||
@ApiParam("计划产量")
|
||||
private Integer planCapacity;
|
||||
|
||||
@Transient
|
||||
@ApiParam("看板时段计划产量")
|
||||
private List<MesBoardShiftSectionCapacity> boardShiftSectionCapacities;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:16 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_SHIFT")
|
||||
@Api("MES_看板班次")
|
||||
public class MesBoardShift extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3681747818263404086L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "SHIFT_NAME")
|
||||
@ApiParam("班次名称")
|
||||
private String shiftName;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:13 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_SHIFT_SECTION")
|
||||
@Api("MES_看板班次时段")
|
||||
public class MesBoardShiftSection extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -957301986885952078L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@ApiParam("开始时段")
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "END_TIME")
|
||||
@ApiParam("结束时段")
|
||||
private String endTime;
|
||||
|
||||
@Column(name = "IS_SPANDAY")
|
||||
@ApiParam("是否跨天")
|
||||
private Integer isSpanday;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:24 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_SHIFT_SECTION_CAPACITY")
|
||||
@Api("MES_看板时段计划产量")
|
||||
public class MesBoardShiftSectionCapacity extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1184108324734484237L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "PLAN_DATE")
|
||||
@ApiParam("计划日期")
|
||||
private String planDate;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@ApiParam("开始时段")
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "END_TIME")
|
||||
@ApiParam("结束时段")
|
||||
private String endTime;
|
||||
|
||||
@Column(name = "PLAN_CAPACITY")
|
||||
@ApiParam("计划产量")
|
||||
private Integer planCapacity;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 4:43 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_TYPE")
|
||||
@Api("MES_看板类型")
|
||||
public class MesBoardType extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3652595133806144706L;
|
||||
|
||||
@Column(name = "BOARD_TYPE")
|
||||
@ApiParam("看板类型")
|
||||
private String boardType;
|
||||
|
||||
@Column(name = "BOARD_TYPE_NAME")
|
||||
@ApiParam("看板类型名称")
|
||||
private String boardTypeName;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 4:47 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_TYPE_BASE_CFG")
|
||||
@Api("MES_看板类型基础配置")
|
||||
public class MesBoardTypeBaseCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5405378688706555644L;
|
||||
|
||||
@Column(name = "BOARD_TYPE")
|
||||
@ApiParam("看板类型")
|
||||
private String boardType;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("界面编号")
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("顺序")
|
||||
private Integer seq;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesBoardShiftSectionCapacity;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 6:55 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
public class BoardModel {
|
||||
|
||||
@ApiParam("看板名称")
|
||||
private String boardName;
|
||||
|
||||
@ApiParam("班别")
|
||||
private String shiftName;
|
||||
|
||||
@ApiParam("对象值描述")
|
||||
private String objectValueDesc;
|
||||
|
||||
@ApiParam("计划人数")
|
||||
private Integer planPeopleNum;
|
||||
|
||||
@ApiParam("实际人数")
|
||||
private Integer actualPeopleNum;
|
||||
|
||||
@ApiParam("目标达成数")
|
||||
private Integer achievedPeopleNum;
|
||||
|
||||
@ApiParam("看板时段计划产量")
|
||||
private List<MesBoardShiftSectionCapacity> boardShiftSectionCapacityList;
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
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_JIT发运队列
|
||||
* @Reference :
|
||||
* @Author : qianhausheng
|
||||
* @CreateDate : 2020-03-06 10:16 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_SHIPPING")
|
||||
@Api("MES_JIT发运队列")
|
||||
public class MesQueueShipping extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 655875369308414110L;
|
||||
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "CUST_FLAG_NO")
|
||||
@ApiParam("客户标识号")
|
||||
private String custFlagNo;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("排序号")
|
||||
private Double seq;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户产线代码")
|
||||
private String custPlantCode;
|
||||
|
||||
@Column(name = "JIT_LOT_NO")
|
||||
@ApiParam("JIT队列批次")
|
||||
private String jitLotNo;
|
||||
|
||||
@Column(name = "JIT_ACTUAL_NO")
|
||||
@ApiParam("客户JIT队列编号")
|
||||
private String jitActualNo;
|
||||
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
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_JIT发运队列明细
|
||||
* @Reference :
|
||||
* @Author : qianhausheng
|
||||
* @CreateDate : 2020-03-06 10:16 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_SHIPPING_DETAIL")
|
||||
@Api("MES_JIT发运队列明细")
|
||||
public class MesQueueShippingDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1442091799346314190L;
|
||||
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "status")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name="SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "QUEUE_GROUP_NO")
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "GROUP_SEQ")
|
||||
@ApiParam("分组序号")
|
||||
private String groupSeq;
|
||||
|
||||
@Column(name = "qty")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
}
|
@ -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.MesBoardEquDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 10:49 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardEquDetailRepository extends BaseRepository<MesBoardEquDetail, 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.MesBoardEquStatus;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 10:50 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardEquStatusRepository extends BaseRepository<MesBoardEquStatus, 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.MesBoardMonitorObject;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 10:51 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardMonitorObjectRepository extends BaseRepository<MesBoardMonitorObject, 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.MesBoardPicture;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 10:52 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardPictureRepository extends BaseRepository<MesBoardPicture, 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.MesBoardPlanCapacity;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 10:53 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardPlanCapacityRepository extends BaseRepository<MesBoardPlanCapacity, 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.MesBoard;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 8:53 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardRepository extends BaseRepository<MesBoard, 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.MesBoardShift;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 10:59 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardShiftRepository extends BaseRepository<MesBoardShift, 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.MesBoardShiftSectionCapacity;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 11:07 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardShiftSectionCapacityRepository extends BaseRepository<MesBoardShiftSectionCapacity, 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.MesBoardShiftSection;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 11:00 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardShiftSectionRepository extends BaseRepository<MesBoardShiftSection, 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.MesBoardTypeBaseCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 9:55 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardTypeBaseCfgRepository extends BaseRepository<MesBoardTypeBaseCfg, 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.MesBoardType;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/21 11:11 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesBoardTypeRepository extends BaseRepository<MesBoardType, 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.MesStepGroup;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesStepGroupRepository extends BaseRepository<MesStepGroup, Long> {
|
||||
}
|
@ -0,0 +1,120 @@
|
||||
package cn.estsh.i3plus.pojo.model.license;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.commons.lang3.time.DateFormatUtils;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.Date;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-2-10 下午5:10
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class ImppLicense implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2365830603839063328L;
|
||||
|
||||
private static final String TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";
|
||||
/**
|
||||
*
|
||||
* 授权人名称
|
||||
* 授权开始时间
|
||||
* 授权结束时间
|
||||
*
|
||||
* 授权工厂
|
||||
* 仓库
|
||||
* 产线
|
||||
* 用户
|
||||
* 授权描述
|
||||
* 同时最大在线数量
|
||||
*
|
||||
*/
|
||||
|
||||
/* 基础信息 */
|
||||
@ApiParam(value ="授权ID")
|
||||
private Long Id; // ID
|
||||
@ApiParam(value ="授权应用ID")
|
||||
private Long appId; // APP_ID
|
||||
@ApiParam(value ="授权读取授权数据ID")
|
||||
private Integer licenseSourceId; // 授权数据来源
|
||||
public String getLicenseSourceTxt() {
|
||||
return licenseSourceId == null ? null : CommonEnumUtil.LICENSE_SOURCE.valueOf(licenseSourceId);
|
||||
}
|
||||
|
||||
/* 授权信息 */
|
||||
@ApiParam(value ="授权开始时间")
|
||||
private String licenseStartDateTime; // 授权开始时间
|
||||
@ApiParam(value ="授权结束时间")
|
||||
private String licenseEndDateTime; // 授权结束时间
|
||||
@ApiParam(value ="授权组织数量")
|
||||
private Integer licenseMaxOrganize; // 授权组织数量
|
||||
@ApiParam(value ="授权仓库数量")
|
||||
private Integer licenseMaxWarehouse; // 授权仓库数量
|
||||
@ApiParam(value ="授权产线数量")
|
||||
private Integer licenseMaxProductionLine; // 授权产线数量
|
||||
@ApiParam(value ="授权用户数量")
|
||||
private Integer licenseMaxUser; // 授权用户数量
|
||||
@ApiParam(value ="授权同时在线数量")
|
||||
private Integer licenseMaxUserSession; // 授权在线用户数量
|
||||
@ApiParam(value ="授权描述信息")
|
||||
private String licenseDescription; // 授权描述信息
|
||||
@ApiParam(value ="深思授权信息")
|
||||
private ImppLicenseSenseshield senseshield;
|
||||
|
||||
/* 业务人员信息 */
|
||||
@ApiParam(value ="授权创建时间")
|
||||
private Date licenseCreateDateTime; // 授权时间
|
||||
@ApiParam(value ="授权创建人员ID")
|
||||
private Long licenseCreateUserId; // 授权用户ID
|
||||
@ApiParam(value ="授权创建人员名称")
|
||||
private String licenseCreateUserName; // 授权人名称
|
||||
@ApiParam(value ="授权更新人员ID")
|
||||
private Long licenseUpdateUserId; // 授权更新人员ID
|
||||
@ApiParam(value ="授权更新人员名称")
|
||||
private String licenseUpdateUserName; // 授权人名称
|
||||
@ApiParam(value ="授权更新人员时间")
|
||||
private Date licenseUpdateDateTime; // 授权更新时间
|
||||
|
||||
/* 授权锁信息(软锁,usb锁) */
|
||||
@ApiParam(value ="授权使用开始时间")
|
||||
private String lockStartTime;
|
||||
@ApiParam(value ="授权使用结束时间")
|
||||
private String lockEndTime;
|
||||
@ApiParam(value ="锁类型")
|
||||
private String lockType;
|
||||
|
||||
/* 基础业务逻辑 */
|
||||
@ApiParam(value ="到期时间")
|
||||
private String maturityDateTime;
|
||||
|
||||
public String getMaturityDateTime() {
|
||||
if(StringUtils.isBlank(maturityDateTime)){
|
||||
return StringUtils.isNotBlank(lockEndTime) ? lockEndTime : licenseEndDateTime;
|
||||
}
|
||||
return maturityDateTime;
|
||||
}
|
||||
|
||||
public void setSenseshield(ImppLicenseSenseshield senseshield) {
|
||||
if(Objects.nonNull(senseshield)){
|
||||
try {
|
||||
Date lockEndTime = new Date((senseshield.getLast_update_timestamp() + senseshield.getSpan_time()) * 1000L);
|
||||
Date licenseEndDateTime = new Date(this.licenseEndDateTime);
|
||||
|
||||
this.lockType = senseshield.getType();
|
||||
this.maturityDateTime = DateFormatUtils.format(lockEndTime.getTime() > licenseEndDateTime.getTime() ? licenseEndDateTime: lockEndTime,TIME_FORMAT);
|
||||
}catch (Exception e){
|
||||
}
|
||||
}
|
||||
this.senseshield = senseshield;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.model.license;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-4-16 下午7:54
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class ImppLicenseSenseshield {
|
||||
|
||||
|
||||
/**
|
||||
* license_id : 170817
|
||||
* enable : true
|
||||
* guid : 6cece6946234ed4292617306ccd1191a
|
||||
* first_use_time : 1587029768
|
||||
* span_time : 315360000
|
||||
* concurrent_type : win_user_session
|
||||
* concurrent : 1000
|
||||
* version : 0
|
||||
* module : 0000000000000000
|
||||
* last_update_timestamp : 1587029200
|
||||
* last_update_timesn : 0
|
||||
* rom_size : 1184
|
||||
* raw_size : 1184
|
||||
* pub_size : 0
|
||||
* developer_id : 0800000000001005
|
||||
* type : local
|
||||
* sn : 9733c801000702075ed2000200270021
|
||||
*/
|
||||
|
||||
private int license_id;
|
||||
private boolean enable;
|
||||
private String guid;
|
||||
private int first_use_time;
|
||||
private int span_time;
|
||||
private String concurrent_type;
|
||||
private int concurrent;
|
||||
private int version;
|
||||
private String module;
|
||||
private int last_update_timestamp;
|
||||
private int last_update_timesn;
|
||||
private int rom_size;
|
||||
private int raw_size;
|
||||
private int pub_size;
|
||||
private String developer_id;
|
||||
private String type;
|
||||
private String sn;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package cn.estsh.i3plus.pojo.model.softswitch;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-4-18 上午10:26
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SuitImppCloudModel {
|
||||
|
||||
@ApiParam(value = "适配器信息")
|
||||
private BsSuitCaseModel model;
|
||||
|
||||
@ApiParam(value = "请求参数信息")
|
||||
private Object param;
|
||||
|
||||
public SuitImppCloudModel() {
|
||||
}
|
||||
|
||||
public SuitImppCloudModel(SuitServerModel serverModel) {
|
||||
this.model = serverModel.getBsSuitCaseModel();
|
||||
this.param = serverModel.getObj();
|
||||
this.param = serverModel.getObj();
|
||||
}
|
||||
|
||||
public SuitImppCloudModel(BsSuitCaseModel model, Object param) {
|
||||
this.model = model;
|
||||
this.param = param;
|
||||
}
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.model.mes.ImportErrorModel;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
/**
|
||||
* @Author: siliter.yuan
|
||||
* @CreateDate: 2020/4/21 9:19 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("导入结果model")
|
||||
public class ExcelImportModel implements Serializable {
|
||||
|
||||
@ApiParam("结果")
|
||||
private boolean result;
|
||||
|
||||
@ApiParam("成功行数量")
|
||||
private int successRowNum;
|
||||
|
||||
@ApiParam("工作薄名称")
|
||||
private String sheetName;
|
||||
|
||||
@ApiParam("导入数据集合")
|
||||
private List<ConcurrentHashMap<String, Object>> excelList;
|
||||
|
||||
@ApiParam("错误信息集合")
|
||||
private List<ImportErrorModel> ImportErrorModels;
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
package cn.estsh.i3plus.pojo.platform.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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.*;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-4-20 上午9:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="SYS_POJO_VERSION")
|
||||
@Api(value="对象历史")
|
||||
public class SysPojoVersion extends BaseBean {
|
||||
|
||||
|
||||
private static final long serialVersionUID = -2456588444446248239L;
|
||||
|
||||
@Column(name="SOFT_TYPE")
|
||||
@ApiParam(value ="产品类型")
|
||||
private Integer softType;
|
||||
|
||||
public String getSoftTypeTxt() {
|
||||
return softType == null ? null : CommonEnumUtil.SOFT_TYPE.valueOfDescription(softType);
|
||||
}
|
||||
|
||||
@Column(name="REF_ID")
|
||||
@ApiParam(value ="对象id" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long refId;
|
||||
|
||||
@Column(name="REF_CLASS")
|
||||
@ApiParam(value ="记录对象")
|
||||
private String refClass;
|
||||
|
||||
@Column(name="VERSION_NO")
|
||||
@ApiParam(value ="记录对象版本号")
|
||||
private Integer versionNo = 0;
|
||||
|
||||
@Column(name="operateType")
|
||||
@ApiParam(value ="操作类型")
|
||||
private Integer operateType;
|
||||
public String getOperateTypeTxt() {
|
||||
return operateType == null ? null : CommonEnumUtil.DAO_OPERATE_TYPE.valueOf(operateType);
|
||||
}
|
||||
|
||||
@Column(name="VERSION_METHOD_NAME")
|
||||
@ApiParam(value ="操作方法名称")
|
||||
private String versionMethodName;
|
||||
|
||||
@Column(name="POJO_DETAIL_ID")
|
||||
@ApiParam(value ="对象明细id" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long pojoDetailId;
|
||||
|
||||
@Lob
|
||||
@Column(name="POJO_COMPARE")
|
||||
@ApiParam(value ="记录对象对比差异")
|
||||
private String pojoCompare;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="用户部门信息")
|
||||
private SysPojoVersionDetail versionDetail;
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package cn.estsh.i3plus.pojo.platform.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-4-20 上午9:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="SYS_POJO_VERSION_DETAIL")
|
||||
@Api(value="对象历史")
|
||||
public class SysPojoVersionDetail extends BaseBean {
|
||||
|
||||
|
||||
private static final long serialVersionUID = -2456588444446248239L;
|
||||
@Column(name="POJO_VERSION_ID")
|
||||
@ApiParam(value ="对象id" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long pojoVersionId;
|
||||
|
||||
@Lob
|
||||
@Column(name="POJO_BEFORE",length = 5000)
|
||||
@ApiParam(value ="原始对象信息")
|
||||
private String pojoBefore;
|
||||
|
||||
@Lob
|
||||
@Column(name="POJO_AFTER",length = 5000)
|
||||
@ApiParam(value ="修改之后对象信息")
|
||||
private String pojoAfter;
|
||||
|
||||
@Lob
|
||||
@Column(name="POJO_COMPARE",length = 5000)
|
||||
@ApiParam(value ="记录对象对比差异")
|
||||
private String pojoCompare;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package cn.estsh.i3plus.pojo.platform.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
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 : wei.peng
|
||||
* @CreateDate : 20-4-20 上午9:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="SYS_POJO_VERSION_PLAN")
|
||||
@Api(value="对象历史")
|
||||
public class SysPojoVersionPlan extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -1120504360281638917L;
|
||||
@Column(name="SOFT_TYPE")
|
||||
@ApiParam(value ="产品类型")
|
||||
private Integer softType;
|
||||
|
||||
public String getSoftTypeTxt() {
|
||||
return softType == null ? null : CommonEnumUtil.SOFT_TYPE.valueOfDescription(softType);
|
||||
}
|
||||
|
||||
@Column(name="REF_CLASS")
|
||||
@ApiParam(value ="记录对象")
|
||||
private String refClass;
|
||||
|
||||
@Column(name="REF_CLASS_TITLE")
|
||||
@ApiParam(value ="记录对象名称")
|
||||
private String refClassTitle;
|
||||
|
||||
@Column(name="PLAN_STATUS")
|
||||
@ApiParam(value ="记录对象状态")
|
||||
private Integer planStatus;
|
||||
|
||||
@Column(name="PLAN_DESCRIPTION")
|
||||
@ApiParam(value ="记录对象描述")
|
||||
private String planDescription;
|
||||
}
|
@ -0,0 +1,129 @@
|
||||
package cn.estsh.i3plus.pojo.platform.platbean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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 : wei.peng
|
||||
* @CreateDate : 20-4-9 下午8:41
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="SYS_LOG_CONSOLE")
|
||||
@Api(value="系统异常表",description = "记录系统出现的异常")
|
||||
public class SysLogConsole extends BaseBean {
|
||||
|
||||
|
||||
/******** 服务器信息 ********/
|
||||
@Column(name="SOFT_TYPE")
|
||||
@ApiParam(value ="产品名称")
|
||||
private String softType;
|
||||
|
||||
@Column(name="LOG_HOST")
|
||||
@ApiParam(value ="服务器IP")
|
||||
private String logHost;
|
||||
|
||||
@Column(name="LOG_PID")
|
||||
@ApiParam(value ="应用PID")
|
||||
private Long logPid;
|
||||
|
||||
@Column(name="LOG_PORT")
|
||||
@ApiParam(value ="应用端口")
|
||||
private Integer logPort;
|
||||
|
||||
@Column(name="LOG_GORP")
|
||||
@ApiParam(value ="日志分组(控制台日志,操作日志,系统日志,定任务日志)")
|
||||
private String logGorp;
|
||||
|
||||
@Column(name="LOG_LEVEL")
|
||||
@ApiParam(value ="日志等级(OFF > FATAL > ERROR > WARN > INFO > DEBUG > TRACE > ALL)")
|
||||
private String logLevel;
|
||||
|
||||
@Column(name="LOG_TYPE")
|
||||
@ApiParam(value ="操作类型(post,put,get)")
|
||||
private String logType;
|
||||
|
||||
/******** 用户信息 ********/
|
||||
|
||||
@Column(name="USER_HOST")
|
||||
@ApiParam(value ="用户登录IP")
|
||||
private String userHost;
|
||||
|
||||
@Column(name="USER_BROWSER")
|
||||
@ApiParam(value ="用户登录浏览器")
|
||||
private String userBrowser;
|
||||
|
||||
@Column(name="USER_OS")
|
||||
@ApiParam(value ="用户登录操作系统")
|
||||
private String userOs;
|
||||
|
||||
@Column(name="USER_ID")
|
||||
@ApiParam(value ="账号ID")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long userId;
|
||||
|
||||
@Column(name="USER_LOGIN_NAME")
|
||||
@ApiParam(value ="用户登录名称")
|
||||
private String userLoginName;
|
||||
|
||||
/******** 日志信息 ********/
|
||||
|
||||
@Column(name="EXECUTE_THREAD_ID")
|
||||
@ApiParam(value ="执行线程")
|
||||
private String executeThreadId;
|
||||
|
||||
@Column(name="EXECUTE_CLASS_NAME")
|
||||
@ApiParam(value ="执行Class")
|
||||
private String executeClassName;
|
||||
|
||||
@Column(name="EXECUTE_METHOD")
|
||||
@ApiParam(value ="执行方法")
|
||||
private String executeMethod;
|
||||
|
||||
@Column(name="EXECUTE_LINE_NUMBER")
|
||||
@ApiParam(value ="报错行数")
|
||||
private Integer executeLineNumber;
|
||||
|
||||
@Column(name="EXECUTE_TITLE")
|
||||
@ApiParam(value ="方法标题")
|
||||
private String executeTitle;
|
||||
|
||||
@Column(name="EXECUTE_ARGS")
|
||||
@ApiParam(value ="执行参数")
|
||||
private String executeArgs;
|
||||
|
||||
@Column(name="EXECUTE_TIME")
|
||||
@ApiParam(value ="执行耗时")
|
||||
private Integer executeTime;
|
||||
|
||||
@Column(name="EXECUTE_STATUS")
|
||||
@ApiParam(value ="执行状态")
|
||||
private String executeStatus;
|
||||
|
||||
@Column(name="EXECUTE_MESSAGE")
|
||||
@ApiParam(value ="执行日志信息")
|
||||
private String executeMessage;
|
||||
|
||||
@Column(name="ERROR_STACK_TRACE",length = 5000)
|
||||
@ApiParam(value ="执行异常堆栈信息")
|
||||
private String errorStackTrace;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysPojoVersionDetail;
|
||||
|
||||
/**
|
||||
* @Description : 对象记录明细
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @Date : 2020-04-21 14:19:34
|
||||
* @Modify :
|
||||
**/
|
||||
public interface SysPojoVersionDetailRepository extends BaseRepository<SysPojoVersionDetail, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysPojoVersionPlan;
|
||||
|
||||
/**
|
||||
* @Description : 对象记录拦截
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @Date : 2020-04-21 14:19:34
|
||||
* @Modify :
|
||||
**/
|
||||
public interface SysPojoVersionPlanRepository extends BaseRepository<SysPojoVersionPlan, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysPojoVersion;
|
||||
|
||||
/**
|
||||
* @Description : 对象记录
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @Date : 2020-04-21 14:19:34
|
||||
* @Modify :
|
||||
**/
|
||||
public interface SysPojoVersionRepository extends BaseRepository<SysPojoVersion, Long> {
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
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.ApiOperation;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : 采购计划历史
|
||||
* @Reference :
|
||||
* @Author : puxiao.liao
|
||||
* @CreateDate : 2020-04-15 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PURCHASE_PLAN_HISTORY")
|
||||
@Api("采购计划历史")
|
||||
public class WmsPurchasePlanHistory extends BaseBean {
|
||||
private static final long serialVersionUID = -8147353212724381079L;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "ITEM_STATUS")
|
||||
@ApiParam(value = "状态", example = "0")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.PURCHASE_PLAN_HISTORY_STATUS.class, refForeignKey = "value", value = "description")
|
||||
private Integer itemStatus;
|
||||
|
||||
@Column(name = "CAR_NO")
|
||||
@ApiParam("车牌号")
|
||||
private String carNo;
|
||||
|
||||
@Column(name = "CONTACT")
|
||||
@ApiParam("联系人")
|
||||
private String contact;
|
||||
|
||||
@Column(name = "CONTACT_TEL")
|
||||
@ApiParam("联系电话")
|
||||
private String contactTel;
|
||||
|
||||
@Column(name = "REMARK")
|
||||
@ApiParam("备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsPurchasePlanHistory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 采购计划历史dao层
|
||||
* @Reference :
|
||||
* @Author : puxiao.liao
|
||||
* @CreateDate : 2020-04-15 10:30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsPurchasePlanHistoryRepository extends BaseRepository<WmsPurchasePlanHistory, Long> {
|
||||
}
|
Loading…
Reference in New Issue