Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
1730dc27c3
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/10/26
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_REAL_TIME_TAKT")
|
||||
@Api("MES_实时节拍")
|
||||
public class MesRealTimeTakt extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2910474711746286558L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "REAL_TIME_TAKT")
|
||||
@ApiParam("实时节拍")
|
||||
private String realTimeTakt;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRealTimeTakt;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @CreateDate: 2020/10/26
|
||||
* @Author: simon.song
|
||||
*/
|
||||
@Repository
|
||||
public interface MesRealTimeTaktRepository extends BaseRepository<MesRealTimeTakt, Long> {
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.SnapshotBean;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : ERP COGI快照
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-24 18:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_COGI_SNAPSHOT", indexes = {
|
||||
@Index(columnList = "PART_NO"),
|
||||
@Index(columnList = "AREA_NO"),
|
||||
@Index(columnList = "ORGANIZE_CODE"),
|
||||
@Index(columnList = "SNAPSHOT_TIME"),
|
||||
@Index(columnList = "MOVE_TYPE")
|
||||
})
|
||||
public class WmsErpCOGISnapshot extends SnapshotBean {
|
||||
private static final long serialVersionUID = -4095222692227226944L;
|
||||
|
||||
@Column(name="SNAPSHOT_TIME")
|
||||
@ApiParam("快照时间")
|
||||
private String snapshotTime;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam("库存地点")
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "MOVE_TYPE")
|
||||
@ApiParam("移动类型")
|
||||
private String moveType;
|
||||
|
||||
@Column(name = "KEYIN_TIME")
|
||||
@ApiParam("录入时间")
|
||||
private String keyInTime;
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : ERP 数据快照时间
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-24 18:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_CHECK_POINT")
|
||||
public class WmsErpCheckPoint extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 5589607687871639189L;
|
||||
|
||||
@Column(name="SNAPSHOT_TIME", columnDefinition="varchar(225) default ''", nullable=false)
|
||||
@ApiParam("快照时间")
|
||||
public String snapshotTime;
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.SnapshotBean;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : ERP 报文接口快照
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-24 18:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_INTERFACE_SNAPSHOT", indexes = {
|
||||
@Index(columnList = "SID"),
|
||||
@Index(columnList = "SENDER"),
|
||||
@Index(columnList = "ORGANIZE_CODE"),
|
||||
@Index(columnList = "RECEIVER"),
|
||||
@Index(columnList = "SNAPSHOT_TIME")
|
||||
})
|
||||
public class WmsErpInterfaceSnapshot extends SnapshotBean {
|
||||
private static final long serialVersionUID = -4095333692227226944L;
|
||||
|
||||
@Column(name="SNAPSHOT_TIME")
|
||||
@ApiParam("快照时间")
|
||||
public String snapshotTime;
|
||||
|
||||
@Column(name = "SID")
|
||||
@ApiParam("业务唯一编号")
|
||||
public String sid;
|
||||
|
||||
@Column(name = "SENDER")
|
||||
@ApiParam("发送方")
|
||||
public String sender;
|
||||
|
||||
@Column(name = "SEND_TIME")
|
||||
@ApiParam("发出时间")
|
||||
public String sendTime;
|
||||
|
||||
@Column(name = "RECEIVER")
|
||||
@ApiParam("接收方")
|
||||
public String receiver;
|
||||
|
||||
@Column(name = "RECEIVED_TIME")
|
||||
@ApiParam("接收时间")
|
||||
public String receivedTime;
|
||||
|
||||
@Column(name = "TRANS_TIME")
|
||||
@ApiParam("处理时间")
|
||||
public String transTime;
|
||||
|
||||
@Column(name = "TRANS_STATUS")
|
||||
@ApiParam("处理状态")
|
||||
public String transStatus;
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.snapshot.erp;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.SnapshotBean;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : ERP 库存结余快照
|
||||
* @Reference :
|
||||
* @Author : rock.yu
|
||||
* @CreateDate : 2020-10-24 18:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_ERP_STOCK_QUAN_SNAPSHOT", indexes = {
|
||||
@Index(columnList = "PART_NO"),
|
||||
@Index(columnList = "AREA_NO"),
|
||||
@Index(columnList = "ORGANIZE_CODE"),
|
||||
@Index(columnList = "SNAPSHOT_TIME")
|
||||
})
|
||||
public class WmsErpStockQuanSnapshot extends SnapshotBean {
|
||||
private static final long serialVersionUID = -4095444692227226944L;
|
||||
|
||||
@Column(name="SNAPSHOT_TIME")
|
||||
@ApiParam("快照时间")
|
||||
public String snapshotTime;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam("库存地点")
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.erp.WmsErpCOGISnapshot;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface WmsErpCOGIRepository extends BaseRepository<WmsErpCOGISnapshot, Long> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.snapshot.erp.WmsErpStockQuanSnapshot;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface WmsErpStockQuanRepository extends BaseRepository<WmsErpStockQuanSnapshot, Long> {
|
||||
}
|
Loading…
Reference in New Issue