From 129e60a6dfba8066f32bd4fa27e66afc23654dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E6=B4=81?= Date: Wed, 11 Dec 2019 13:23:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90KT-1284=20=E8=AE=A1=E5=88=92=E6=8B=89?= =?UTF-8?q?=E5=8A=A8-=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../i3plus/pojo/wms/bean/WmsPullTaskDetails.java | 157 +++++++++++++++++++++ .../i3plus/pojo/wms/bean/WmsPullTaskMaster.java | 66 +++++++++ .../repository/WmsPullTaskDetailsRepository.java | 17 +++ .../repository/WmsPullTaskMasterRepository.java | 17 +++ 4 files changed, 257 insertions(+) create mode 100644 modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPullTaskDetails.java create mode 100644 modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPullTaskMaster.java create mode 100644 modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsPullTaskDetailsRepository.java create mode 100644 modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsPullTaskMasterRepository.java diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPullTaskDetails.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPullTaskDetails.java new file mode 100644 index 0000000..09f05c2 --- /dev/null +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPullTaskDetails.java @@ -0,0 +1,157 @@ +package cn.estsh.i3plus.pojo.wms.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 : WMS_拉动计划任务明细表 + * @Reference : + * @Author : jessica.chen + * @CreateDate : 2019-11-10 14:21 + * @Modify: + **/ +@Data +@Entity +@DynamicInsert +@DynamicUpdate +@EqualsAndHashCode(callSuper = true) +@Table(name="WMS_PULL_TASK_DETAILS") +@Api("WMS_拉动计划任务明细表") +public class WmsPullTaskDetails extends BaseBean{ + + private static final long serialVersionUID = 9214639813072592736L; + + @Column(name="WROKORDER_NO") + @ApiParam("工单号") + private String woekorderNo; + + @Column(name="ITEM") + @ApiParam(value = "行号", example = "0") + private Integer item = 0; + + @Column(name="TERMINAL_NO") + @ApiParam("工位代码") + private String terminalNo; + + @Column(name="LOCATE_NO") + @ApiParam("库位代码") + private String locateNo; + + @Column(name="LOCATE_CAPACITY") + @ApiParam("库位容量") + private String locateCapacity; + + @Column(name="PART_NO") + @ApiParam("零件编号") + private String partNo; + + @Column(name="PART_NAME_RDD") + @ApiParam("零件名称") + private String partNameRdd; + + @Column(name="PLAN_PACK_COUNT") + @ApiParam(value = "计划容器数", example = "0") + private Integer planPackCount = 0; + + @Column(name="FIRST_BATCH_QTY") + @ApiParam(value = "首批批量", example = "0") + private Integer firstBatchQty = 0; + + @Column(name="FIRST_PACK_COUNT") + @ApiParam(value = "首批容器数", example = "0") + private Integer firstPackCount = 0; + + @Column(name="REQUEST_QTY") + @ApiParam(value = "补货批量", example = "0") + private Integer requestQty = 0; + + @Column(name="REQUEST_PACK_COUNT") + @ApiParam(value = "补货容器数", example = "0") + private Integer requestPackCount = 0; + + @Column(name="REQUEST_LOT_NO") + @ApiParam(value = "补货批次", example = "0") + private Integer requestLotNo = 0; + + @Column(name="REQUEST_TOTAL_COUNT") + @ApiParam(value = "补货累加次数", example = "0") + private Integer requestTotalCount = 0; + + @Column(name="LAST_REQUEST_TIME") + @ApiParam("上一次补货时间") + private String lastRequestTtime; + + @Column(name="BOOT_QTY") + @ApiParam(value = "尾箱批量", example = "0") + private Integer bootQty = 0; + + @Column(name="BOOT_PACK_COUNT") + @ApiParam(value = "尾箱容器数", example = "0") + private Integer bootPackCount = 0; + + @Column(name="BOOT_LOT_NO") + @ApiParam(value = "尾箱批次", example = "0") + private Integer bootLotNo = 0; + + @Column(name="ORDER_STATUS") + @ApiParam(value = "单据状态", example = "0") + private Integer orderStatus = 0; + + public Integer getOrderStatus() { + return orderStatus == null ? 0 : this.orderStatus.intValue(); + } + + public Integer getBootLotNo() { + return bootLotNo == null ? 0 : this.bootLotNo.intValue(); + } + + public Integer getBootPackCount() { + return bootPackCount == null ? 0 : this.bootPackCount.intValue(); + } + + public Integer getBootQty() { + return bootQty == null ? 0 : this.bootQty.intValue(); + } + + public Integer getRequestTotalCount() { + return requestTotalCount == null ? 0 : this.requestTotalCount.intValue(); + } + + public Integer getRequestLotNo() { + return requestLotNo == null ? 0 : this.requestLotNo.intValue(); + } + + public Integer getRequestPackCount() { + return requestPackCount == null ? 0 : this.requestPackCount.intValue(); + } + + public Integer getRequestQty() { + return requestQty == null ? 0 : this.requestQty.intValue(); + } + + public Integer getFirstPackCount() { + return firstPackCount == null ? 0 : this.firstPackCount.intValue(); + } + + public Integer getFirstBatchQty() { + return firstBatchQty == null ? 0 : this.firstBatchQty.intValue(); + } + + public Integer getPlanPackCount() { + return planPackCount == null ? 0 : this.planPackCount.intValue(); + } + + public Integer getItem() { + return item == null ? 0 : this.item.intValue(); + } + +} \ No newline at end of file diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPullTaskMaster.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPullTaskMaster.java new file mode 100644 index 0000000..03a57f9 --- /dev/null +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsPullTaskMaster.java @@ -0,0 +1,66 @@ +package cn.estsh.i3plus.pojo.wms.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 : WMS_拉动计划任务主表 + * @Reference : + * @Author : jessica.chen + * @CreateDate : 2019-11-09 14:21 + * @Modify: + **/ +@Data +@Entity +@DynamicInsert +@DynamicUpdate +@EqualsAndHashCode(callSuper = true) +@Table(name="WMS_PULL_TASK_MASTER") +@Api("WMS_拉动计划任务主表") +public class WmsPullTaskMaster extends BaseBean{ + + private static final long serialVersionUID = 9214639813072592736L; + + @Column(name="WROKORDER_NO") + @ApiParam("工单号") + private String woekorderNo; + + @Column(name="PDLINE_NO") + @ApiParam("产线代码") + private String pdlineNo; + + @Column(name="PLAN_PRODUCT_TIME") + @ApiParam("生产日期") + private String planProductTime; + + @Column(name="SHIFT_NO") + @ApiParam("班次代码") + private String shitNo; + + @Column(name="START_PRODUCT_TIME") + @ApiParam("开始生产时间") + private String startProductTime; + + @Column(name="END_PRODUCT_TIME") + @ApiParam("结束生产时间") + private String endProductTime; + + @Column(name="ORDER_STATUS") + @ApiParam(value = "单据状态", example = "0") + private Integer orderStatus = 0; + + public Integer getOrderStatus() { + return orderStatus == null ? 0 : this.orderStatus.intValue(); + } + + +} \ No newline at end of file diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsPullTaskDetailsRepository.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsPullTaskDetailsRepository.java new file mode 100644 index 0000000..9983761 --- /dev/null +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsPullTaskDetailsRepository.java @@ -0,0 +1,17 @@ +package cn.estsh.i3plus.pojo.wms.repository; + +import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; +import cn.estsh.i3plus.pojo.wms.bean.WmsPullTaskDetails; +import cn.estsh.i3plus.pojo.wms.bean.WmsPullTaskMaster; +import org.springframework.stereotype.Repository; + +/** + * @Description :wms拉动计划明细表 + * @Reference : + * @Author : jessica.chen + * @CreateDate : 2018-12-11 14:49 + * @Modify: + **/ +@Repository +public interface WmsPullTaskDetailsRepository extends BaseRepository { +} diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsPullTaskMasterRepository.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsPullTaskMasterRepository.java new file mode 100644 index 0000000..563dbb0 --- /dev/null +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsPullTaskMasterRepository.java @@ -0,0 +1,17 @@ +package cn.estsh.i3plus.pojo.wms.repository; + +import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository; +import cn.estsh.i3plus.pojo.wms.bean.BasVendor; +import cn.estsh.i3plus.pojo.wms.bean.WmsPullTaskMaster; +import org.springframework.stereotype.Repository; + +/** + * @Description :wms拉动计划主表 + * @Reference : + * @Author : jessica.chen + * @CreateDate : 2018-12-11 14:49 + * @Modify: + **/ +@Repository +public interface WmsPullTaskMasterRepository extends BaseRepository { +}