| | |
| | | @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
| | | private Date updateTime; |
| | | |
| | | |
| | | @ApiModelProperty(value= "生产日期") |
| | | @TableField("proddate") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | |
| | | private Date proddate; |
| | | @ApiModelProperty(value= "到期日期") |
| | | @TableField("deadline") |
| | | @DateTimeFormat(pattern="yyyy-MM-dd") |
| | | |
| | | private Date deadline; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | |
| | | |
| | | public OrderDetl() {} |
| | | |
| | | public OrderDetl(Long orderId, String orderNo, Double anfme, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double length, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo) { |
| | | public OrderDetl(Long orderId, String orderNo, Double anfme, Double qty, String matnr, String maktx, String batch, String specs, String model, String color, String brand, String unit, Double price, String sku, Double units, String barcode, String origin, String manu, String manuDate, String itemNum, Double safeQty, Double weight, Double length, Double volume, String threeCode, String supp, String suppCode, Integer beBatch, String deadTime, Integer deadWarn, Integer source, Integer inspect, Integer danger, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo,Date proddate, Date deadline) { |
| | | this.orderId = orderId; |
| | | this.orderNo = orderNo; |
| | | this.anfme = anfme; |
| | |
| | | this.updateBy = updateBy; |
| | | this.updateTime = updateTime; |
| | | this.memo = memo; |
| | | this.proddate = proddate; |
| | | this.deadline = deadline; |
| | | } |
| | | |
| | | public String getOrderId$(){ |
| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime); |
| | | } |
| | | |
| | | public String getProddate$(){ |
| | | if (Cools.isEmpty(this.proddate)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd").format(this.proddate); |
| | | } |
| | | public String getDeadline$(){ |
| | | if (Cools.isEmpty(this.deadline)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd").format(this.deadline); |
| | | } |
| | | |
| | | public Double getEnableQty() { |
| | | Double enableQty = null; |
| | | if (null != this.anfme && this.qty != null) { |