Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into Mytest
commit
efcab52f73
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :安灯区域
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "ANDON_AREA", indexes = {
|
||||
@Index(columnList = "AREA_CODE"),
|
||||
@Index(columnList = "AREA_NAME")
|
||||
})
|
||||
@Api("安灯区域")
|
||||
public class AndonArea extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3435045294077955581L;
|
||||
|
||||
@Column(name="AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name="AREA_NAME")
|
||||
@ApiParam("区域名称")
|
||||
private String areaName;
|
||||
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019/12/4 1:28 下午
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "ANDON_FILE")
|
||||
@Api("文件表")
|
||||
public class AndonFile extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5743291150478737944L;
|
||||
|
||||
@Column(name = "FILE_NAME")
|
||||
@ApiParam("文件名称")
|
||||
private String fileName;
|
||||
|
||||
@Column(name = "FILE_URL")
|
||||
@ApiParam("文件URL")
|
||||
private String fileUrl;
|
||||
|
||||
@Column(name = "GROUP_NAME")
|
||||
@ApiParam("组名")
|
||||
private String groupName;
|
||||
|
||||
@Column(name = "FILE_ORIGIN_NAME")
|
||||
@ApiParam("文件原名")
|
||||
private String fileOriginName;
|
||||
|
||||
@Column(name = "FILE_SIZE")
|
||||
@ApiParam("文件大小")
|
||||
private String fileSize;
|
||||
|
||||
@Column(name = "FILE_TYPE")
|
||||
@ApiParam("文件类型名称")
|
||||
private String fileType;
|
||||
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_MANAGE_ROUTE_ERROR_RECORD", indexes = {
|
||||
@Index(columnList = "WORK_CENTER_CODE"),
|
||||
@Index(columnList = "WORK_CELL_CODE"),
|
||||
@Index(columnList = "WORK_CENTER_CODE, WORK_CELL_CODE"),
|
||||
@Index(columnList = "ANDON_ORDER_NO"),
|
||||
@Index(columnList = "MSG_TYPE"),
|
||||
@Index(columnList = "HANDLE_STATUS"),
|
||||
@Index(columnList = "WORK_CENTER_CODE, WORK_CELL_CODE, ANDON_ORDER_NO"),
|
||||
@Index(columnList = "WORK_CENTER_CODE, WORK_CELL_CODE, HANDLE_STATUS")
|
||||
})
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Api("安灯作业流程异常记录")
|
||||
public class AndonManageRouteErrorRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2037562788825472674L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心")
|
||||
public String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元")
|
||||
public String workCellCode;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型")
|
||||
public String alarmCode;
|
||||
|
||||
@Column(name = "ALARM_DETAIL_CODE")
|
||||
@ApiParam(value = "安灯子类型编码")
|
||||
private String alarmDetailCode;
|
||||
|
||||
@Column(name = "SOURCE_TYPE")
|
||||
@ApiParam(value = "安灯来源类型")
|
||||
private String sourceType;
|
||||
|
||||
@Column(name = "ALARM_STATUS")
|
||||
@ApiParam(value = "安灯事件")
|
||||
public String alarmStatus;
|
||||
|
||||
@Column(name = "ALARM_STATUS_NAME")
|
||||
@ApiParam(value = "安灯事件名称")
|
||||
public String alarmStatusName;
|
||||
|
||||
@Lob
|
||||
@Column(name = "ERROR_DESC")
|
||||
@ApiParam(value = "异常描述")
|
||||
public String errorDesc;
|
||||
|
||||
@Column(name = "MSG_TYPE")
|
||||
@ApiParam(value = "信息类型")
|
||||
private String msgType;
|
||||
|
||||
@Column(name = "ANDON_ORDER_NO")
|
||||
@ApiParam(value = "安灯队列编号")
|
||||
public String andonOrderNo;
|
||||
|
||||
@Column(name = "FSM_CACHED_KEY")
|
||||
@ApiParam(value = "缓存KEY")
|
||||
private String fsmCachedKey;
|
||||
|
||||
@Column(name = "HANDLE_STATUS")
|
||||
@ApiParam(value = "处理状态")
|
||||
private Integer handleStatus;
|
||||
|
||||
@Column(name = "ALARM_ERROR_TIME")
|
||||
@ApiParam("安灯异常时间")
|
||||
public String alarmErrorTime;
|
||||
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019/7/30 9:30 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "ANDON_MODULE_EXCEL_MANAGE", indexes = {
|
||||
@Index(columnList = "MODULE_CODE"),
|
||||
@Index(columnList = "MODULE_NAME")
|
||||
})
|
||||
@Api("模块EXCEL管理表")
|
||||
public class AndonModuleExcelManage extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4174331010179941394L;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("模块代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "MODULE_NAME")
|
||||
@ApiParam("模块名称")
|
||||
private String moduleName;
|
||||
|
||||
@Column(name = "FILE_ID")
|
||||
@ApiParam("文件id")
|
||||
private Long fileId;
|
||||
|
||||
@Transient
|
||||
@ApiParam("文件URL")
|
||||
private String fileUrl;
|
||||
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :安灯工作单元
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "ANDON_WORK_CELL", indexes = {
|
||||
@Index(columnList = "WORK_CENTER_CODE"),
|
||||
@Index(columnList = "WORK_CELL_CODE"),
|
||||
@Index(columnList = "WORK_CELL_NAME"),
|
||||
@Index(columnList = "WORK_CENTER_CODE, WORK_CELL_CODE")
|
||||
})
|
||||
@Api("安灯工作单元")
|
||||
public class AndonWorkCell extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6782295209026659848L;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :安灯工作中心
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "ANDON_WORK_CENTER", indexes = {
|
||||
@Index(columnList = "WORK_CENTER_CODE"),
|
||||
@Index(columnList = "WORK_CENTER_NAME"),
|
||||
@Index(columnList = "AREA_CODE"),
|
||||
@Index(columnList = "AREA_CODE, WORK_CENTER_CODE")
|
||||
})
|
||||
@Api("安灯工作中心")
|
||||
public class AndonWorkCenter extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -34850085202020333L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME")
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
|
||||
public AndonWorkCenter(String organizeCode) {
|
||||
this.organizeCode = organizeCode;
|
||||
}
|
||||
|
||||
public AndonWorkCenter() {
|
||||
}
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @version 1.0
|
||||
* @date 2021/1/15 15:32
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("安灯子类型model")
|
||||
public class AndonAlarmDetailTypeModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2877279779029264810L;
|
||||
|
||||
@ApiParam("id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam(value = "安灯子类型编码")
|
||||
private String alarmDetailCode;
|
||||
|
||||
@ApiParam(value = "安灯子类型名称")
|
||||
private String alarmDetailName;
|
||||
|
||||
@ApiParam(value = "安灯类型")
|
||||
private String alarmCode;
|
||||
|
||||
@ApiParam(value = "安灯类型")
|
||||
private String alarmName;
|
||||
|
||||
@ApiParam("组织代码")
|
||||
private String organizeCode;
|
||||
|
||||
@ApiParam("创建用户")
|
||||
private String createUser;
|
||||
|
||||
@ApiParam("创建日期")
|
||||
private String createDatetime;
|
||||
|
||||
@ApiParam("修改人")
|
||||
private String modifyUser;
|
||||
|
||||
@ApiParam("修改日期")
|
||||
private String modifyDatetime;
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :安灯区域
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("安灯区域model")
|
||||
public class AndonAreaModel extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1406838542079597374L;
|
||||
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@ApiParam("区域名称")
|
||||
private String areaName;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="子集列表")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
private List<AndonWorkCenterModel> childTreeList;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="名称")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
private String name;
|
||||
|
||||
public String getName(){
|
||||
return areaName;
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("安灯枚举配置MODEL")
|
||||
public class AndonCommEnumModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4504617079257753276L;
|
||||
|
||||
@ApiParam("界面代码")
|
||||
private String value;
|
||||
|
||||
@ApiParam("界面名称")
|
||||
private String description;
|
||||
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @version 1.0
|
||||
* @date 2021/1/15 15:32
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("安灯系统配置model")
|
||||
public class AndonConfigModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3904799282814930138L;
|
||||
|
||||
@ApiParam("id")
|
||||
private String idStr;
|
||||
|
||||
@ApiParam("id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam(value ="名称")
|
||||
private String name;
|
||||
|
||||
@ApiParam(value ="参数代码")
|
||||
private String configCode;
|
||||
|
||||
@ApiParam(value ="参数描述")
|
||||
private String configDescription;
|
||||
|
||||
@ApiParam(value ="参数键")
|
||||
private String configKey;
|
||||
|
||||
@ApiParam(value ="参数键描述")
|
||||
private String configKeyName;
|
||||
|
||||
@ApiParam(value ="参数值类型")
|
||||
private String configValueType;
|
||||
|
||||
@ApiParam(value ="参数值类型描述")
|
||||
private String configValueTypeName;
|
||||
|
||||
@ApiParam(value ="参数值")
|
||||
private String configValue;
|
||||
|
||||
@ApiParam(value ="参数值描述")
|
||||
private String configValueDesc;
|
||||
|
||||
@ApiParam(value ="参数类型")
|
||||
private Integer configType;
|
||||
|
||||
@ApiParam(value ="参数组")
|
||||
private Integer configGroup;
|
||||
|
||||
@ApiParam("组织代码")
|
||||
private String organizeCode;
|
||||
|
||||
@ApiParam("创建用户")
|
||||
private String createUser;
|
||||
|
||||
@ApiParam("创建日期")
|
||||
private String createDatetime;
|
||||
|
||||
@ApiParam("修改人")
|
||||
private String modifyUser;
|
||||
|
||||
@ApiParam("修改日期")
|
||||
private String modifyDatetime;
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonManageRouteErrorRecord;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("安灯作业流程异常记录model")
|
||||
public class AndonManageRouteErrorRecordModel extends AndonManageRouteErrorRecord implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3351535059161071801L;
|
||||
|
||||
@ApiParam("安灯类型名称")
|
||||
private String alarmName;
|
||||
|
||||
@ApiParam(value = "安灯子类型名称")
|
||||
private String alarmDetailName;
|
||||
|
||||
@ApiParam(value = "安灯来源类型")
|
||||
private String sourceTypeName;
|
||||
|
||||
@ApiParam(value = "信息类型")
|
||||
private String msgTypeName;
|
||||
|
||||
@ApiParam(value = "处理状态")
|
||||
private String handleStatusName;
|
||||
|
||||
@ApiParam("安灯异常时间开始")
|
||||
public String alarmErrorTimeStart;
|
||||
|
||||
@ApiParam("安灯异常时间截止")
|
||||
public String alarmErrorTimeEnd;
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @version 1.0
|
||||
* @date 2021/1/15 15:32
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("模块EXCEL管理")
|
||||
public class AndonModuleExcelManageModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5632288300819137538L;
|
||||
|
||||
@ApiParam("id")
|
||||
private String idStr;
|
||||
|
||||
@ApiParam("id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam("模块代码")
|
||||
private String moduleCode;
|
||||
|
||||
@ApiParam("模块名称")
|
||||
private String moduleName;
|
||||
|
||||
@ApiParam("文件ID")
|
||||
private Long fileId;
|
||||
|
||||
@ApiParam("文件URL")
|
||||
private String fileUrl;
|
||||
|
||||
@ApiParam("文件原名")
|
||||
private String fileOriginName;
|
||||
|
||||
@ApiParam("组织代码")
|
||||
private String organizeCode;
|
||||
|
||||
@ApiParam("创建用户")
|
||||
private String createUser;
|
||||
|
||||
@ApiParam("创建日期")
|
||||
private String createDatetime;
|
||||
|
||||
@ApiParam("修改人")
|
||||
private String modifyUser;
|
||||
|
||||
@ApiParam("修改日期")
|
||||
private String modifyDatetime;
|
||||
|
||||
public AndonModuleExcelManageModel() {
|
||||
}
|
||||
|
||||
public AndonModuleExcelManageModel(Long id, String moduleCode, String moduleName, Long fileId, String fileUrl, String fileOriginName,
|
||||
String organizeCode, String createUser, String createDatetime, String modifyUser, String modifyDatetime) {
|
||||
this.id = id;
|
||||
this.moduleCode = moduleCode;
|
||||
this.moduleName = moduleName;
|
||||
this.fileId = fileId;
|
||||
this.fileUrl = fileUrl;
|
||||
this.fileOriginName = fileOriginName;
|
||||
this.organizeCode = organizeCode;
|
||||
this.createUser = createUser;
|
||||
this.createDatetime = createDatetime;
|
||||
this.modifyUser = modifyUser;
|
||||
this.modifyDatetime = modifyDatetime;
|
||||
}
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :安灯工作单元
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("安灯工作单元model")
|
||||
public class AndonWorkCellModel extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4513957019405532048L;
|
||||
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="名称")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
private String name;
|
||||
|
||||
public String getName(){
|
||||
return this.workCellCode;
|
||||
}
|
||||
}
|
@ -0,0 +1,58 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonWorkCell;
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :安灯工作中心
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("安灯工作中心model")
|
||||
public class AndonWorkCenterModel extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2737182509323706933L;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="子集列表")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
private List<AndonWorkCell> childTreeList;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="名称")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
private String name;
|
||||
|
||||
public String getName(){
|
||||
return this.workCenterName;
|
||||
}
|
||||
|
||||
public AndonWorkCenterModel(String organizeCode) {
|
||||
this.organizeCode = organizeCode;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019/8/21 9:19 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("andon导入异常结果model")
|
||||
public class ExcelImportErrorModel implements Serializable {
|
||||
|
||||
@ApiParam("错误的行号")
|
||||
private int rowNum;
|
||||
|
||||
@ApiParam("错误数量")
|
||||
private int errorNum;
|
||||
|
||||
@ApiParam("错误列号")
|
||||
private String cellNum;
|
||||
|
||||
@ApiParam("错误描述")
|
||||
private String errorInfo;
|
||||
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2019/8/21 9:19 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("andon导入结果model")
|
||||
public class ExcelImportResultModel<T> implements Serializable {
|
||||
|
||||
@ApiParam("结果")
|
||||
private boolean result;
|
||||
|
||||
@ApiParam("成功行数量")
|
||||
private int successRowNum;
|
||||
|
||||
@ApiParam("失败行数量")
|
||||
private int failRowNum;
|
||||
|
||||
@ApiParam("错误信息集合")
|
||||
private List<ExcelImportErrorModel> excelImportErrorModels;
|
||||
|
||||
@ApiParam("错误的行号")
|
||||
private String errorRows;
|
||||
|
||||
@ApiParam("导入数据集合")
|
||||
private List<T> excelList;
|
||||
|
||||
@ApiParam("导入进度")
|
||||
private String importSpeed;
|
||||
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@Api("组件返回信息")
|
||||
public class ModuleResult {
|
||||
|
||||
private boolean isCompleted;
|
||||
|
||||
private boolean isError = false;
|
||||
|
||||
private String msg;
|
||||
|
||||
private String nextTriggerEvent;
|
||||
|
||||
public static ModuleResult getNonComplete() {
|
||||
return new ModuleResult(false, "");
|
||||
}
|
||||
|
||||
public static ModuleResult getNonComplete(String msg) {
|
||||
return new ModuleResult(false, msg);
|
||||
}
|
||||
|
||||
public static ModuleResult getCustomNonComplete(String nextTriggerEvent) {
|
||||
return new ModuleResult(false, "", nextTriggerEvent);
|
||||
}
|
||||
|
||||
public static ModuleResult getCustomNonComplete(String msg, String nextTriggerEvent) {
|
||||
return new ModuleResult(false, msg, nextTriggerEvent);
|
||||
}
|
||||
|
||||
public static ModuleResult getErrorComplete(String msg) {
|
||||
return new ModuleResult(false, true, msg);
|
||||
}
|
||||
|
||||
public static ModuleResult getSuccessComplete() {
|
||||
return new ModuleResult(true, "");
|
||||
}
|
||||
|
||||
public static ModuleResult getSuccessComplete(String msg) {
|
||||
return new ModuleResult(true, msg);
|
||||
}
|
||||
|
||||
public static ModuleResult getCustomSuccessComplete(String nextTriggerEvent) {
|
||||
return new ModuleResult(true, "", nextTriggerEvent);
|
||||
}
|
||||
|
||||
public static ModuleResult getCustomSuccessComplete(String msg, String nextTriggerEvent) {
|
||||
return new ModuleResult(true, msg, nextTriggerEvent);
|
||||
}
|
||||
|
||||
private ModuleResult() {
|
||||
}
|
||||
|
||||
private ModuleResult(boolean isCompleted, String msg) {
|
||||
this.isCompleted = isCompleted;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
private ModuleResult(boolean isCompleted, boolean isError, String msg) {
|
||||
this.isCompleted = isCompleted;
|
||||
this.isError = isError;
|
||||
this.msg = msg;
|
||||
}
|
||||
|
||||
public ModuleResult(boolean isCompleted, String msg, String nextTriggerEvent) {
|
||||
this.isCompleted = isCompleted;
|
||||
this.msg = msg;
|
||||
this.nextTriggerEvent = nextTriggerEvent;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : 工位请求bean
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class StationRequestBean extends StationRequestBeanAb implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3122891627710528829L;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "StationRequestBean{" +
|
||||
"actorReceiveStrategyClass='" + get(actorReceiveStrategyClass) + '\'' +
|
||||
", actorClass='" + get(actorClass) + '\'' +
|
||||
", fsmCachedKey='" + get(fsmCachedKey) + '\'' +
|
||||
", organizeCode='" + get(organizeCode) + '\'' +
|
||||
", userInfo='" + get(userInfo) + '\'' +
|
||||
", msgType='" + get(msgType) + '\'' +
|
||||
", areaCode='" + get(areaCode) + '\'' +
|
||||
", workCenterCode='" + get(workCenterCode) + '\'' +
|
||||
", workCellCode='" + get(workCellCode) + '\'' +
|
||||
", alarmCode='" + get(alarmCode) + '\'' +
|
||||
", sourceType='" + get(sourceType) + '\'' +
|
||||
", alarmDetailCode='" + get(alarmDetailCode) + '\'' +
|
||||
", andonOrderNo='" + get(andonOrderNo) + '\'' +
|
||||
", msgData=" + get(msgData) +
|
||||
// ", fsmList=" + get(fsmList) +
|
||||
", curFsm=" + get(curFsm) +
|
||||
", triggerEvent='" + get(triggerEvent) + '\'' +
|
||||
", alarmErrorTime='" + get(alarmErrorTime) + '\'' +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description : 工位请求bean
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public abstract class StationRequestBeanAb implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8537547029096794087L;
|
||||
|
||||
@ApiParam("ACTOR接收策略类名")
|
||||
public String actorReceiveStrategyClass;
|
||||
|
||||
@ApiParam("ACTOR类名")
|
||||
public String actorClass;
|
||||
|
||||
@ApiParam("缓存数据KEY")
|
||||
public String fsmCachedKey;
|
||||
|
||||
@ApiParam("组织代码")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam("用户信息")
|
||||
public String userInfo;
|
||||
|
||||
@ApiParam("消息类型")
|
||||
public String msgType;
|
||||
|
||||
@ApiParam("区域代码")
|
||||
public String areaCode;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
public String workCenterCode;
|
||||
|
||||
@ApiParam("工作单元代码")
|
||||
public String workCellCode;
|
||||
|
||||
@ApiParam(value = "安灯类型")
|
||||
public String alarmCode;
|
||||
|
||||
@ApiParam(value = "安灯来源类型")
|
||||
public String sourceType;
|
||||
|
||||
@ApiParam(value = "安灯子类型编码")
|
||||
public String alarmDetailCode;
|
||||
|
||||
@ApiParam(value = "安灯队列编号")
|
||||
public String andonOrderNo;
|
||||
|
||||
@ApiParam(value = "安灯状态")
|
||||
public String alarmStatus;
|
||||
|
||||
@ApiParam(value = "安灯状态名称(呼叫 响应 解决 撤销 等)")
|
||||
public String alarmStatusName;
|
||||
|
||||
@ApiParam("消息数据")
|
||||
public Map<String, Object> msgData = new HashMap<>();
|
||||
|
||||
@ApiParam("流程状态集合")
|
||||
public List<FsmModel> fsmList;
|
||||
|
||||
@ApiParam("当前流程状态")
|
||||
public FsmModel curFsm;
|
||||
|
||||
@ApiParam("当前触发事件")
|
||||
public String triggerEvent;
|
||||
|
||||
@ApiParam("安灯异常时间")
|
||||
public String alarmErrorTime;
|
||||
|
||||
public String get(Object obj) {
|
||||
if (null == obj) {
|
||||
return "";
|
||||
} else {
|
||||
return obj.toString();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonArea;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonAreaRepository extends BaseRepository<AndonArea, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonFile;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-07-30
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonFileRepository extends BaseRepository<AndonFile, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonManageRouteErrorRecord;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonManageRouteErrorRecordRepository extends BaseRepository<AndonManageRouteErrorRecord, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonModuleExcelManage;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @version 1.0
|
||||
* @date 2021/1/29 15:02
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonModuleExcelManageRepository extends BaseRepository<AndonModuleExcelManage, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonWorkCell;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonWorkCellRepository extends BaseRepository<AndonWorkCell, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonWorkCenter;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonWorkCenterRepository extends BaseRepository<AndonWorkCenter, Long> {
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package cn.estsh.i3plus.pojo.eam.bean;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/3/28 0028 下午 14:11
|
||||
*/
|
||||
public class BaseBean {
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.model.common;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2022/3/24 1:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel(value = "平台发送邮件model")
|
||||
public class ImppEmail {
|
||||
|
||||
@ApiModelProperty(value = "邮箱")
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty(value = "消息内容")
|
||||
private String content;
|
||||
|
||||
@ApiModelProperty(value = "subject")
|
||||
private String subject;
|
||||
|
||||
@ApiModelProperty(value = "nick")
|
||||
private String nick;
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package cn.estsh.i3plus.pojo.model.common;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2022/3/24 15:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel(value = "供应商忘记密码")
|
||||
public class UserModel {
|
||||
@ApiModelProperty("登录名")
|
||||
private String loginName;
|
||||
@ApiModelProperty("新密码")
|
||||
private String password;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.model.platform;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.common.Pager;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/5/17 0017 下午 15:38
|
||||
* andon 查询用户信息model
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("andon 调用core查询的model")
|
||||
public class AndonQueryUserModel {
|
||||
@ApiModelProperty(value ="工厂代码" , access ="工厂代码")
|
||||
private String organizeCode;
|
||||
@ApiModelProperty(value ="账号登录名" , access ="账号登录名")
|
||||
private String userLoginName;
|
||||
@ApiModelProperty(value ="用户名称" , access ="用户名称")
|
||||
private String userName;
|
||||
@ApiModelProperty(value ="部门名称" , access ="部门名称")
|
||||
private String department;
|
||||
@ApiModelProperty(value ="分页参数" , access ="分页参数")
|
||||
private Pager pager;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.model.platform;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/5/17 0017 下午 15:39
|
||||
* 松下andon 查询结果返回model
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("根据条件查询数据返回给andon的结果")
|
||||
public class AndonQueryUserResultModel {
|
||||
@ApiModelProperty(value ="用户账号id" , access ="用户账号id")
|
||||
private Long userId;
|
||||
@ApiModelProperty(value ="用户信息id" , access ="用户信息id")
|
||||
private Long userInfoId;
|
||||
@ApiModelProperty(value ="账号登录名" , access ="账号登录名")
|
||||
private String loginName;
|
||||
@ApiModelProperty(value ="用户名称" , access ="用户名称")
|
||||
private String userName;
|
||||
@ApiModelProperty(value ="部门名称" , access ="部门名称")
|
||||
private String department;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.model.platform;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/3/30 0030 上午 10:12
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("钉钉单聊机器人批量推送消息")
|
||||
public class DingSendBatchRequestModel {
|
||||
|
||||
@ApiModelProperty(value ="手机号" , access ="手机号")
|
||||
private List<String> phoneNumberList;
|
||||
@ApiModelProperty(value ="账号登录名列表" , access ="账号登录名列表")
|
||||
private List<String> userLoginNameList ;
|
||||
@ApiModelProperty(value ="消息标题" , access ="消息标题")
|
||||
private String title ;
|
||||
@ApiModelProperty(value ="消息内容" , access ="消息内容")
|
||||
private String content;
|
||||
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/5/31 0031 下午 16:52
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("对账单明细model")
|
||||
public class ReconciliaDetailResultModel implements Serializable {
|
||||
@ApiModelProperty(notes = "物料编号")
|
||||
private String partNo;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "库存地编号")
|
||||
private String areaNo;
|
||||
|
||||
@ApiModelProperty(notes = "存储区编号")
|
||||
private String zoneNo;
|
||||
|
||||
@ApiModelProperty(notes = "业务类型")
|
||||
private Integer busiTypeCode;
|
||||
|
||||
@ApiModelProperty(notes = "IQ状态 正常异常")
|
||||
private Integer iQStatus;
|
||||
|
||||
@ApiModelProperty(notes = "关联单号")
|
||||
private String refSrcOrderNo;
|
||||
|
||||
@ApiModelProperty(notes = "关联单据状态")
|
||||
public Integer refSrcOrderStatus;
|
||||
|
||||
@ApiModelProperty(notes = "库存移动单号")
|
||||
private String moveOrderNo;
|
||||
|
||||
@ApiModelProperty(notes = "处理数量")
|
||||
private Double handleQty;
|
||||
|
||||
@ApiModelProperty(notes = "移动单状态")
|
||||
private Integer moveOrderStatus;
|
||||
|
||||
@ApiModelProperty(notes = "movetoerp状态")
|
||||
private Integer moveToERPStatus;
|
||||
|
||||
|
||||
@ApiModelProperty(notes = "中间表状态")
|
||||
private Integer middleTableStatus;
|
||||
|
||||
@ApiModelProperty(notes = "oQ状态 正常异常")
|
||||
private Integer oQStatus;
|
||||
|
||||
|
||||
public ReconciliaDetailResultModel(String partNo,String areaNo,String zoneNo,Integer busiTypeCode,String refSrcOrderNo,Integer refSrcOrderStatus,String moveOrderNo,Double handleQty,Integer moveOrderStatus ){
|
||||
this.partNo = partNo;
|
||||
this.areaNo = areaNo;
|
||||
this.zoneNo = zoneNo;
|
||||
this.busiTypeCode = busiTypeCode;
|
||||
this.refSrcOrderNo = refSrcOrderNo;
|
||||
this.refSrcOrderStatus = refSrcOrderStatus;
|
||||
this.moveOrderNo = moveOrderNo;
|
||||
this.handleQty = handleQty;
|
||||
this.moveOrderStatus = moveOrderStatus;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,105 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/5/31 0031 下午 16:52
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@ApiModel("对账单查询model")
|
||||
public class ReconciliaDetailSummaryResultModel implements Serializable {
|
||||
@ApiModelProperty(name = "物料编号")
|
||||
private String partNo;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "库存地编号")
|
||||
private String areaNo;
|
||||
|
||||
@ApiModelProperty(name = "来源存储区")
|
||||
private String srcZoneNo;
|
||||
|
||||
@ApiModelProperty(name = "目标存储区")
|
||||
private String destZoneNo;
|
||||
|
||||
@ApiModelProperty(name = "业务类型")
|
||||
private Integer busiTypeCode;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "单据状态")
|
||||
public Integer orderStatus;
|
||||
|
||||
@ApiModelProperty(name = "需求数量")
|
||||
private Double demandQty;
|
||||
|
||||
@ApiModelProperty(name = "处理数量")
|
||||
private Double handleQty;
|
||||
|
||||
@ApiModelProperty(name = "操作时间")
|
||||
private String actionDateTime;
|
||||
|
||||
@ApiModelProperty(name = "创建时间")
|
||||
private String createDateTime;
|
||||
|
||||
@ApiModelProperty(name = "关联单号")
|
||||
public String refSrc;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "订单号")
|
||||
public String orderNo;
|
||||
|
||||
|
||||
public ReconciliaDetailSummaryResultModel(String partNo,String srcZoneNo,String destZoneNo,Integer busiTypeCode,Integer orderStatus,String refSrc,String orderNo){
|
||||
this.partNo = partNo;
|
||||
this.srcZoneNo = srcZoneNo;
|
||||
this.destZoneNo = destZoneNo;
|
||||
this.busiTypeCode = busiTypeCode;
|
||||
this.orderStatus = orderStatus;
|
||||
this.refSrc = refSrc;
|
||||
this.orderNo = orderNo;
|
||||
}
|
||||
|
||||
public ReconciliaDetailSummaryResultModel(Double demandQty){
|
||||
this.demandQty = demandQty;
|
||||
}
|
||||
|
||||
public ReconciliaDetailSummaryResultModel(String partNo,String srcZoneNo,String destZoneNo,Integer busiTypeCode,Integer orderStatus,String orderNo,Double handleQty){
|
||||
this.partNo = partNo;
|
||||
this.srcZoneNo = srcZoneNo;
|
||||
this.destZoneNo = destZoneNo;
|
||||
this.busiTypeCode = busiTypeCode;
|
||||
this.orderStatus = orderStatus;
|
||||
this.orderNo = orderNo;
|
||||
this.handleQty = handleQty;
|
||||
}
|
||||
public ReconciliaDetailSummaryResultModel(String partNo,String areaNo, String srcZoneNo,String destZoneNo,Integer busiTypeCode,Integer orderStatus,Double demandQty, Double handleQty){
|
||||
this.partNo = partNo;
|
||||
this.areaNo = areaNo;
|
||||
this.srcZoneNo = srcZoneNo;
|
||||
this.destZoneNo = destZoneNo;
|
||||
this.busiTypeCode = busiTypeCode;
|
||||
this.orderStatus = orderStatus;
|
||||
this.demandQty = demandQty;
|
||||
this.handleQty = handleQty;
|
||||
}
|
||||
|
||||
public ReconciliaDetailSummaryResultModel(String partNo, String srcZoneNo,String destZoneNo,Integer busiTypeCode,Integer orderStatus,Double demandQty, Double handleQty){
|
||||
this.partNo = partNo;
|
||||
this.areaNo = areaNo;
|
||||
this.srcZoneNo = srcZoneNo;
|
||||
this.destZoneNo = destZoneNo;
|
||||
this.busiTypeCode = busiTypeCode;
|
||||
this.orderStatus = orderStatus;
|
||||
this.demandQty = demandQty;
|
||||
this.handleQty = handleQty;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/5/31 0031 下午 16:21
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("对账单结果model")
|
||||
public class ReconciliaResultModel implements Serializable {
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/5/31 0031 下午 16:52
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("对账单汇总结果model")
|
||||
public class ReconciliaSummayResultModel implements Serializable {
|
||||
|
||||
@ApiModelProperty(name = "物料编号")
|
||||
private String partNo;
|
||||
|
||||
@ApiModelProperty(name = "仓库编号")
|
||||
private String whNo;
|
||||
|
||||
@ApiModelProperty(name = "库存地编号")
|
||||
private String zoneNo;
|
||||
|
||||
@ApiModelProperty(name = "wms初始库存")
|
||||
private Double wmsInitialQty;
|
||||
|
||||
@ApiModelProperty(name = "sap初始库存")
|
||||
private Double sapInitialQty;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "wms可用数量")
|
||||
private Double wmsQty;
|
||||
|
||||
@ApiModelProperty(name = "wmsCOGI")
|
||||
private Double wmsCOGI;
|
||||
|
||||
@ApiModelProperty(name = "sap可用数量")
|
||||
private Double sapQty;
|
||||
|
||||
|
||||
@ApiModelProperty(name = "sapCOGI")
|
||||
private Double sapCOGI;
|
||||
|
||||
@ApiModelProperty(name = "差异")
|
||||
private Double stockDifference;
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.platform.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/3/17 0017 上午 10:33
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="SYS_TABLE_TEMPLATE",indexes =
|
||||
{
|
||||
@Index(name="page",columnList = "page"),
|
||||
})
|
||||
@ApiModel(value="自定义表格结构",description = "自定义表格结构")
|
||||
public class SysTableTemplate extends BaseBean {
|
||||
/**
|
||||
* 产品类型 属于哪个产品
|
||||
*/
|
||||
@Column(name="SOFT_TYPE")
|
||||
@ApiParam(value ="产品类型", example = "0",access = "softTyp DOC: http://doc.estsh.com/docs/i3plus_api/i3plus_api-impp")
|
||||
@AnnoOutputColumn
|
||||
private Integer softType;
|
||||
|
||||
@Column(name="PAGE")
|
||||
@ApiParam(value ="表格所属页面")
|
||||
private String page;
|
||||
|
||||
@Column(name="TEMPLATE_TYPE")
|
||||
@ApiParam(value ="模板类型")
|
||||
private String templateType;
|
||||
|
||||
@Lob
|
||||
@Column(name="TEMPLATE_DATA")
|
||||
@ApiParam(value ="模板数据")
|
||||
private String templateData;
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysTableTemplate;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/3/17 0017 上午 10:51
|
||||
*/
|
||||
public interface SysTableTemplateRepository extends BaseRepository<SysTableTemplate, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.ScriptPersistence;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2022/5/24 0024 下午 14:11
|
||||
*/
|
||||
@Repository
|
||||
public interface ScriptPersistenceRepository extends BaseRepository<ScriptPersistence,Long> {
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.modelbean;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2022/3/24 16:20
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("供应商自助修改密码")
|
||||
public class SwebUpdateVendorPwdModel {
|
||||
|
||||
@ApiModelProperty("供应商登录名")
|
||||
private String loginName;
|
||||
|
||||
@ApiModelProperty("供应商邮箱")
|
||||
private String email;
|
||||
|
||||
@ApiModelProperty("供应商新密码")
|
||||
private String password;
|
||||
|
||||
@ApiModelProperty("验证码")
|
||||
private String authCode;
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.modelbean;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2022/3/23 22:54
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel(value = "供应商验证对象")
|
||||
public class SwebVerifyVendorModel {
|
||||
|
||||
@ApiModelProperty(value = "供应商登录名")
|
||||
private String loginName;
|
||||
|
||||
@ApiModelProperty(value = "供应商邮箱")
|
||||
private String email;
|
||||
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package cn.estsh.i3plus.pojo.wms.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2022/3/29 14:37
|
||||
* @Modify:
|
||||
**/
|
||||
@ApiModel(value = "统一对账单")
|
||||
@Data
|
||||
public class WmsAccountDto {
|
||||
@ApiModelProperty(value = "零件名称")
|
||||
private String partName;
|
||||
@ApiModelProperty(value = "仓库名称")
|
||||
private String warehouseName;
|
||||
@ApiModelProperty(value = "区域名称")
|
||||
private String zonesName;
|
||||
|
||||
private BigDecimal wmsInitStockNum;
|
||||
|
||||
private BigDecimal sapInitStockNum;
|
||||
|
||||
private BigDecimal wmsAvailableNum;
|
||||
|
||||
private BigDecimal wmsCogi;
|
||||
|
||||
private BigDecimal sapAvailableNum;
|
||||
|
||||
private BigDecimal sapCogi;
|
||||
|
||||
private BigDecimal difference;
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.wms.modelbean;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2022/3/29 9:51
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel(value = "集中对账单")
|
||||
public class AccountReportModel {
|
||||
@ApiModelProperty(value = "物料号")
|
||||
public String partNo;
|
||||
@ApiModelProperty(value = "仓库号")
|
||||
public String whNo;
|
||||
@ApiModelProperty(value = "库存地")
|
||||
public String zoneNo;
|
||||
@ApiModelProperty(value = "wms快照时间")
|
||||
public String wmsSnapshotTime;
|
||||
@ApiModelProperty(value = "SAP快照时间")
|
||||
public String sapSnapshotTime;
|
||||
}
|
Loading…
Reference in New Issue