Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
ffbf18944c
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.model.mes;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/7/15 21:43
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class PsetModel {
|
||||
|
||||
private String psetName;
|
||||
|
||||
private Integer psetNum;
|
||||
|
||||
private Integer psetCount;
|
||||
|
||||
private Integer actualCount;
|
||||
|
||||
private boolean torqueStatus;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.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;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TIME")
|
||||
@Api("工步参数")
|
||||
public class PtlTime extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6674121566943415827L;
|
||||
@Column(name = "MODULE")
|
||||
@ApiParam("组件")
|
||||
private String module;
|
||||
|
||||
@Column(name = "ELAPSE")
|
||||
@ApiParam("耗时")
|
||||
private Long elapse;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : PojoField模型
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2020-04-28
|
||||
* @Modify:
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class PojoFieldModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 366939009033748970L;
|
||||
@ApiParam(value ="属性名")
|
||||
private String fieldName;
|
||||
|
||||
@ApiParam(value ="属性类型")
|
||||
private String fieldType;
|
||||
|
||||
@ApiParam(value ="属性描述")
|
||||
private String fieldDesc;
|
||||
|
||||
@ApiParam(value ="字段名称")
|
||||
private String fieldColumnName;
|
||||
|
||||
@ApiParam(value = "数据来源")
|
||||
private String dataSrc;
|
||||
|
||||
@ApiParam(value = "开窗列表显示列名称")
|
||||
private String listColumnName;
|
||||
|
||||
@ApiParam(value = "开窗搜索列名称")
|
||||
private String searchColumnName;
|
||||
|
||||
@ApiParam(value = "回显列名")
|
||||
private String explicitColumnName;
|
||||
|
||||
@ApiParam(value = "下拉框规则")
|
||||
private Integer selectRule;
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : Pojo模型
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2020-04-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class PojoModel implements Serializable {
|
||||
private static final long serialVersionUID = -3491931203656275910L;
|
||||
@ApiParam(value ="包名")
|
||||
private String packageName;
|
||||
|
||||
@ApiParam(value ="POJO类名")
|
||||
private String simpleName;
|
||||
|
||||
@ApiParam(value ="POJO类全名")
|
||||
private String fullName;
|
||||
|
||||
@ApiParam(value ="表名称名")
|
||||
private String tableName;
|
||||
|
||||
@ApiParam(value ="POJO类描述")
|
||||
private String pojoDesc;
|
||||
|
||||
@ApiParam(value ="属性集合")
|
||||
private List<PojoFieldModel> fieldList;
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.PtlTime;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface PtlTimeRepository extends BaseRepository<PtlTime, Long> {
|
||||
}
|
@ -0,0 +1,117 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description : 悬挂链库存同步数据
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-07-14 9:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_SUSPEN_STOCK_SYNC", indexes = {
|
||||
@Index(columnList = "ORGANIZE_CODE")
|
||||
})
|
||||
@Api("悬挂链库存同步数据")
|
||||
public class WmsSuspenStockSync extends BaseBean {
|
||||
|
||||
@Column(name = "SRC")
|
||||
@ApiParam(value = "数据来源")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String src;
|
||||
|
||||
@Column(name = "SERVER_URL")
|
||||
@ApiParam(value = "服务地址")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String serverUrl;
|
||||
|
||||
@Column(name = "LOCATE_NO")
|
||||
@ApiParam(value = "库位号")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String locateNo;
|
||||
|
||||
@Column(name = "PART_NO_A")
|
||||
@ApiParam(value = "物料号A")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String partNoA;
|
||||
|
||||
@Column(name = "PART_NO_B")
|
||||
@ApiParam(value = "物料号B")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String partNoB;
|
||||
|
||||
@Column(name = "QTY_A")
|
||||
@ApiParam(value = "数量A")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private Double qtyA;
|
||||
|
||||
@Column(name = "qty_b")
|
||||
@ApiParam(value = "数量B")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private Double qtyB;
|
||||
|
||||
@Column(name = "LOT_NO_A")
|
||||
@ApiParam(value = "批次A")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String lotNoA;
|
||||
|
||||
@Column(name = "LOT_NO_B")
|
||||
@ApiParam(value = "批次B")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String lotNoB;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam(value = "状态")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.SUSPEN_STOCK_SYNC_STATUS.class)
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER)
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "ERROR_MSG")
|
||||
@ApiParam(value = "错误信息")
|
||||
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String errorMsg;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "物料数组集")
|
||||
private String[] partNos;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "数量数组集")
|
||||
private Double[] qtys;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "批次数组集")
|
||||
private String[] lotNos;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "物料数据List")
|
||||
private List<WmsPart> partList;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "物料数据Map")
|
||||
private Map<String, WmsPart> partNameMap;
|
||||
|
||||
}
|
@ -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.WmsSuspenStockSync;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-07-14 10:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsSuspenStockSyncRepository extends BaseRepository<WmsSuspenStockSync, Long> {
|
||||
}
|
Loading…
Reference in New Issue