From cddb582ab403a8e38a5f954e3312ee18095b4121 Mon Sep 17 00:00:00 2001 From: "yihang.lv" Date: Wed, 3 Apr 2019 22:01:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pojo/sweb/bean/SwebPurchaseOrderDetails.java | 12 ++++++ .../modelbean/SwebPOForPubListResultItemModel.java | 47 ++++++++++++++++++++++ .../modelbean/SwebPOForPubListResultModel.java | 33 +++------------ 3 files changed, 64 insertions(+), 28 deletions(-) create mode 100644 modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/modelbean/SwebPOForPubListResultItemModel.java diff --git a/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/bean/SwebPurchaseOrderDetails.java b/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/bean/SwebPurchaseOrderDetails.java index 70f8a1c..8a07f39 100644 --- a/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/bean/SwebPurchaseOrderDetails.java +++ b/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/bean/SwebPurchaseOrderDetails.java @@ -33,6 +33,14 @@ public class SwebPurchaseOrderDetails extends BaseBean { @ApiParam("单据号") public String orderNo; + @ApiParam("供应商编号") + @Column(name = "VENDOR_CODE") + private String vendorCode; + + @ApiParam("供应商名称") + @Column(name = "VENDOR_NAME") + private String vendorName; + @Column(name = "PART_VERSION") @ApiParam("零件版本") private Integer partVersion; @@ -45,6 +53,10 @@ public class SwebPurchaseOrderDetails extends BaseBean { @ApiParam(value = "零件名称") private String partName; + @ApiParam(value = "订单类型", example = "1") + @Column(name = "ORDER_TYPE") + public Integer orderType; + @ApiParam("零件类型") @Column(name = "PART_TYPE") private Integer partType; diff --git a/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/modelbean/SwebPOForPubListResultItemModel.java b/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/modelbean/SwebPOForPubListResultItemModel.java new file mode 100644 index 0000000..40d72be --- /dev/null +++ b/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/modelbean/SwebPOForPubListResultItemModel.java @@ -0,0 +1,47 @@ +package cn.estsh.i3plus.pojo.sweb.modelbean; + +import cn.estsh.i3plus.pojo.base.bean.BaseBean; +import io.swagger.annotations.ApiParam; +import lombok.Data; + +import javax.persistence.Column; +import java.util.List; +import java.util.Map; + +/** + * @Description : 待发布订单列表输出模型 + * @Reference : + * @Author : jack.lv + * @CreateDate : 2019-04-02 13:13 + * @Modify: + **/ +@Data +public class SwebPOForPubListResultItemModel extends BaseBean { + + @Column(name = "ORDER_NO") + @ApiParam("单据号") + public String orderNo; + + @Column(name = "PART_NO") + @ApiParam(value = "零件号") + private String partNo; + + @Column(name = "PART_NAME") + @ApiParam(value = "零件名称") + private String partName; + + @ApiParam(value = "单位") + @Column(name = "UNIT") + private String unit; + + @ApiParam(value = "订单状态", example = "1") + @Column(name = "ITEM_STATUS") + private Integer itemStatus; + + @ApiParam(value = "订单类型", example = "1") + @Column(name = "ORDER_TYPE") + public Integer orderType; + + @ApiParam(value = "时间数量列表", example = "1") + public List> timeList; +} diff --git a/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/modelbean/SwebPOForPubListResultModel.java b/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/modelbean/SwebPOForPubListResultModel.java index 4f28ae4..78021a0 100644 --- a/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/modelbean/SwebPOForPubListResultModel.java +++ b/modules/i3plus-pojo-sweb/src/main/java/cn/estsh/i3plus/pojo/sweb/modelbean/SwebPOForPubListResultModel.java @@ -1,13 +1,11 @@ package cn.estsh.i3plus.pojo.sweb.modelbean; import cn.estsh.i3plus.pojo.base.bean.BaseBean; +import cn.estsh.i3plus.pojo.base.bean.ListPager; import io.swagger.annotations.ApiParam; import lombok.Data; -import org.hibernate.annotations.ColumnDefault; -import javax.persistence.Column; import java.util.List; -import java.util.Map; /** * @Description : 待发布订单列表输出模型 @@ -19,30 +17,9 @@ import java.util.Map; @Data public class SwebPOForPubListResultModel extends BaseBean { - @Column(name = "ORDER_NO") - @ApiParam("单据号") - public String orderNo; + @ApiParam(value = "拆分请求时间数量列表", example = "1") + public List reqTimeList; - @Column(name = "PART_NO") - @ApiParam(value = "零件号") - private String partNo; - - @Column(name = "PART_NAME") - @ApiParam(value = "零件名称") - private String partName; - - @ApiParam(value = "单位") - @Column(name = "UNIT") - private String unit; - - @ApiParam(value = "订单状态", example = "1") - @Column(name = "ITEM_STATUS") - private Integer itemStatus; - - @ApiParam(value = "订单类型", example = "1") - @Column(name = "ORDER_TYPE") - public Integer orderType; - - @ApiParam(value = "时间数量列表", example = "1") - public List> timeList; + @ApiParam(value = "分页列表", example = "1") + public ListPager pageList; }