| | |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.zy.asrs.common.utils.Synchro; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | |
| | | @ApiModelProperty(value= "授权商户") |
| | | private Long hostId; |
| | | |
| | | /** |
| | | * 满板(checkBox) |
| | | */ |
| | | @ApiModelProperty(value= "满板(checkBox)") |
| | | private String fullPlt; |
| | | |
| | | @ApiModelProperty(value= "货主") |
| | | private Integer owner; |
| | | |
| | | public WaitPakin() {} |
| | | |
| | | public WaitPakin(String zpallet,Double anfme,String locNo,String matnr,String maktx,String batch,String orderNo,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,String status,String ioStatus,Long modiUser,Date modiTime,Long appeUser,Date appeTime,String memo,Long hostId) { |
| | | public WaitPakin(String zpallet,Double anfme,String locNo,String matnr,String maktx,String batch,String orderNo,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,String status,String ioStatus,Long modiUser,Date modiTime,Long appeUser,Date appeTime,String memo,Long hostId,Integer owner) { |
| | | this.zpallet = zpallet; |
| | | this.anfme = anfme; |
| | | this.locNo = locNo; |
| | |
| | | this.appeTime = appeTime; |
| | | this.memo = memo; |
| | | this.hostId = hostId; |
| | | this.owner = owner; |
| | | } |
| | | |
| | | // WaitPakin waitPakin = new WaitPakin( |
| | |
| | | return "否"; |
| | | default: |
| | | return String.valueOf(this.beBatch); |
| | | } |
| | | } |
| | | |
| | | public String getOwner$(){ |
| | | if (null == this.owner){ return null; } |
| | | switch (this.owner){ |
| | | case 1: |
| | | return "宁波"; |
| | | case 2: |
| | | return "新昌"; |
| | | default: |
| | | return String.valueOf(this.owner); |
| | | } |
| | | } |
| | | |
| | | public String getFullPlt$(){ |
| | | if (null == this.fullPlt){ return null; } |
| | | switch (this.fullPlt){ |
| | | case "Y": |
| | | return "是"; |
| | | case "N": |
| | | return "否"; |
| | | default: |
| | | return String.valueOf(this.fullPlt); |
| | | } |
| | | } |
| | | |
| | |
| | | return null; |
| | | } |
| | | |
| | | public void sync(Object source) { |
| | | Synchro.Copy(source, this); |
| | | } |
| | | |
| | | } |