| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableLogic; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | @ApiModelProperty(value = "创建人") |
| | | private String createBy; |
| | | /**创建日期*/ |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "创建日期") |
| | | private Date createTime; |
| | | /**更新人*/ |
| | | @ApiModelProperty(value = "更新人") |
| | | private String updateBy; |
| | | /**更新日期*/ |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @ApiModelProperty(value = "更新日期") |
| | | private Date updateTime; |
| | | /**删除标记*/ |
| | | @ApiModelProperty(value = "删除标记") |
| | | @TableLogic |
| | | private Integer delFlag; |
| | | /**生产订单号*/ |
| | | @ApiModelProperty(value = "生产订单号") |
| | | private String orderCode; |
| | | /**订单类型*/ |
| | | @ApiModelProperty(value = "订单类型") |
| | | @Dict(dicCode = "production_order_category") |
| | | private String orderCategory; |
| | | /**物料编号*/ |
| | | @ApiModelProperty(value = "物料编号") |
| | |
| | | @ApiModelProperty(value = "物料名称") |
| | | private String materialName; |
| | | /**计划开始日期*/ |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "计划开始日期") |
| | | private Date planStart; |
| | | /**计划结束日期*/ |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "计划结束日期") |
| | | private Date planEnd; |
| | | /**订单数量*/ |
| | | @ApiModelProperty(value = "订单数量") |
| | | private BigDecimal orderQuantity; |
| | | /**产品单位*/ |
| | | @Dict(dicCode = "production_unit") |
| | | @ApiModelProperty(value = "产品单位") |
| | | /**基本计量单位*/ |
| | | @ApiModelProperty(value = "基本计量单位") |
| | | private String productionUnit; |
| | | /**订单状态*/ |
| | | @Dict(dicCode = "order_status") |
| | | @ApiModelProperty(value = "订单状态") |
| | | private String orderStatus; |
| | | /**订单状态描述*/ |
| | | @ApiModelProperty(value = "订单状态描述") |
| | | private String orderStatusName; |
| | | /**优先级*/ |
| | | @Dict(dicCode = "priority") |
| | | @ApiModelProperty(value = "优先级") |
| | | private String priority; |
| | | /**计划工艺路线*/ |
| | |
| | | this.orderQuantity = new BigDecimal(dto.getGAMNG()); |
| | | this.productionUnit = dto.getGMEIN(); |
| | | this.orderStatus = dto.getTXT04(); |
| | | this.orderStatusName = dto.getTXT30(); |
| | | this.priority = dto.getAPRIO(); |
| | | this.processRoute = dto.getAUFPL(); |
| | | this.materialListCode = dto.getSTLNR(); |
| | |
| | | this.planEnd = DateUtils.str2Date(dto.getGLTRP(), DateUtils.date_sdf.get()); |
| | | this.orderQuantity = new BigDecimal(dto.getGAMNG()); |
| | | this.orderStatus = dto.getTXT04(); |
| | | this.orderStatusName = dto.getTXT30(); |
| | | this.priority = dto.getAPRIO(); |
| | | this.orderCreateDate = dto.getUDATE(); |
| | | this.orderUpdateDate = dto.getLAEDA(); |