Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
1e0a0ff4fc
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 17:11
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MONITOR_TASK")
|
||||
@Api("监听任务")
|
||||
public class MesMonitorTask extends BaseBean {
|
||||
|
||||
@Column(name = "TASK_NO")
|
||||
@ApiParam("任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name = "TASK_NAME")
|
||||
@ApiParam("任务名称")
|
||||
private String taskName;
|
||||
|
||||
@Column(name = "TASK_OBJECT_TYPE")
|
||||
@ApiParam("任务对象类型")
|
||||
private String taskObjectType;
|
||||
|
||||
@Column(name = "TASK_STATUS")
|
||||
@ApiParam("任务状态")
|
||||
private Integer taskStatus;
|
||||
|
||||
@Column(name = "TASK_EXCEPTION_DESC")
|
||||
@ApiParam("异常描述")
|
||||
private String taskExceptionDesc;
|
||||
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 17:19
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MONITOR_TASK_DETAIL")
|
||||
@Api("监听任务明细")
|
||||
public class MesMonitorTaskDetail extends BaseBean {
|
||||
|
||||
@Column(name = "TASK_NO")
|
||||
@ApiParam("任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name = "DATA_OBJECT_NO")
|
||||
@ApiParam("数据对象编号")
|
||||
private String dataObjectNo;
|
||||
|
||||
// @Column(name = "STORE_OBJECT_CODE")
|
||||
// @ApiParam("存储对象代码")
|
||||
// private String storeObjectCode;
|
||||
//
|
||||
// @Column(name = "STORE_FIELD_CODE")
|
||||
// @ApiParam("存储字段代码")
|
||||
// private String storeFieldCode;
|
||||
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesMonitorTaskDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 18:42
|
||||
*/
|
||||
@Repository
|
||||
public interface MesMonitorTaskDetailRepository extends BaseRepository<MesMonitorTaskDetail, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesMonitorTask;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 18:43
|
||||
*/
|
||||
@Repository
|
||||
public interface MesMonitorTaskRepository extends BaseRepository<MesMonitorTask,Long> {
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 17:11
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MONITOR_TASK")
|
||||
@Api("监听任务")
|
||||
public class MesMonitorTask extends BaseBean {
|
||||
|
||||
@Column(name = "TASK_NO")
|
||||
@ApiParam("任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name = "TASK_NAME")
|
||||
@ApiParam("任务名称")
|
||||
private String taskName;
|
||||
|
||||
@Column(name = "TASK_OBJECT_TYPE")
|
||||
@ApiParam("任务对象类型")
|
||||
private String taskObjectType;
|
||||
|
||||
@Column(name = "TASK_STATUS")
|
||||
@ApiParam("任务状态")
|
||||
private Integer taskStatus;
|
||||
|
||||
@Column(name = "TASK_EXCEPTION_DESC")
|
||||
@ApiParam("异常描述")
|
||||
private String taskExceptionDesc;
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 17:19
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MONITOR_TASK_DETAIL")
|
||||
@Api("监听任务明细")
|
||||
public class MesMonitorTaskDetail extends BaseBean {
|
||||
|
||||
@Column(name = "TASK_NO")
|
||||
@ApiParam("任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name = "DATA_OBJECT_NO")
|
||||
@ApiParam("数据对象编号")
|
||||
private String dataObjectNo;
|
||||
|
||||
// @Column(name = "STORE_OBJECT_CODE")
|
||||
// @ApiParam("存储对象代码")
|
||||
// private String storeObjectCode;
|
||||
//
|
||||
// @Column(name = "STORE_FIELD_CODE")
|
||||
// @ApiParam("存储字段代码")
|
||||
// private String storeFieldCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam("任务名称")
|
||||
private String taskName;
|
||||
|
||||
}
|
@ -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.MesMonitorTaskDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 18:42
|
||||
*/
|
||||
@Repository
|
||||
public interface MesMonitorTaskDetailRepository extends BaseRepository<MesMonitorTaskDetail, 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.MesMonitorTask;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/1/8 0008 - 18:43
|
||||
*/
|
||||
@Repository
|
||||
public interface MesMonitorTaskRepository extends BaseRepository<MesMonitorTask,Long> {
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : WMS列表搜索model
|
||||
* @Reference :
|
||||
* @Author : sjc
|
||||
* @CreateDate : 2020-01-07 14:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class WmsSearchGroupModel {
|
||||
|
||||
@ApiParam(value = "组列表")
|
||||
private List<WmsSearchElementModel> searchElementModelList;
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.annotation.FieldAnnotation;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
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 org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
import org.hibernate.annotations.GenericGenerator;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : 零件包装主数据信息
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-01-09 14:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name="QAD_ITEM_PACKING")
|
||||
@Api("零件包装主数据信息")
|
||||
public class QadItemPacking implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -9204074690166851001L;
|
||||
|
||||
@Id
|
||||
@GeneratedValue(generator = "IDGenerator")
|
||||
@GenericGenerator(name = "IDGenerator", strategy = "assigned")
|
||||
@Column(name="ID")
|
||||
@ApiParam(value = "主键",example = "0")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER)
|
||||
public Long id;
|
||||
|
||||
//get单独处理
|
||||
public Long getId() {
|
||||
if(id != null) {
|
||||
return id.longValue();
|
||||
}else{
|
||||
return id;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* MonogoDB _id映射
|
||||
* @param id
|
||||
*/
|
||||
@JSONField(name="_id")
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
@Column(name="IN_ADDR")
|
||||
@ApiParam("收货时是供应商编号,发运时是客户发往地")
|
||||
public String inAddr;
|
||||
|
||||
@Column(name="IN_BOP_CODE")
|
||||
@ApiParam("BOP编号")
|
||||
public String inBopCode;
|
||||
|
||||
@Column(name="IN_DOMAIN")
|
||||
@ApiParam("所属Domain")
|
||||
public String inDomain;
|
||||
|
||||
@Column(name="IN_PART")
|
||||
@ApiParam("物料代码")
|
||||
public String inPart;
|
||||
|
||||
@Column(name="IN_SITE")
|
||||
@ApiParam("工厂代码")
|
||||
public String inSite;
|
||||
|
||||
@Column(name="IN_TRANS_TYPE")
|
||||
@ApiParam("交易类型")
|
||||
public String inTransType;
|
||||
|
||||
@Column(name="CREATE_DATE_TIME")
|
||||
@ApiParam("创建时间")
|
||||
public String createDateTime;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.QadBop;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-01-09 15:06
|
||||
* @Modify:
|
||||
**/
|
||||
public interface QadBopRepository extends BaseRepository<QadBop, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.QadItemPacking;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-01-09 15:06
|
||||
* @Modify:
|
||||
**/
|
||||
public interface QadItemPackingRepository extends BaseRepository<QadItemPacking, Long> {
|
||||
}
|
Loading…
Reference in New Issue