| | |
| | | |
| | | @ApiModelProperty(value = "建议调出仓,出仓") |
| | | private String sourceWarehouseId; |
| | | @TableField(exist = false) |
| | | private String matnrId$; |
| | | |
| | | |
| | | public StockItem() {} |
| | | |
| | | public StockItem(Long orderId,String orderCode,Long sourceItemId,Long matnrId,String matnrCode,String maktx,Double anfme,String stockUnit,Double workQty,Double purQty,String purUnit,Double qty,String splrCode,String batch,String splrBatch,String splrName,String trackCode,String barcode,String prodTime,String packName,Integer status,Integer deleted,Integer tenantId,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) { |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | // public String getStockId$(){ |
| | | // StockService service = SpringUtils.getBean(StockService.class); |
| | | // Stock stock = service.getById(this.stockId); |
| | | // if (!Cools.isEmpty(stock)){ |
| | | // return String.valueOf(stock.getId()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | |
| | | public String getMatnrId$(){ |
| | | MatnrService service = SpringUtils.getBean(MatnrService.class); |
| | | Matnr matnr = service.getById(this.matnrId); |
| | | if (!Cools.isEmpty(matnr)){ |
| | | return String.valueOf(matnr.getUnit()); |
| | | } |
| | | return null; |
| | | return this.matnrId$; |
| | | } |
| | | |
| | | // public String getShipperId$(){ |
| | | // CompanysService service = SpringUtils.getBean(CompanysService.class); |
| | | // Companys shipper = service.getById(this.shipperId); |
| | | // if (!Cools.isEmpty(shipper)){ |
| | | // return String.valueOf(shipper.getName()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | |
| | | // public String getSplrId$(){ |
| | | // SupplierService service = SpringUtils.getBean(SupplierService.class); |
| | | // Supplier supplier = service.getById(this.splrId); |
| | | // if (!Cools.isEmpty(supplier)){ |
| | | // return String.valueOf(supplier.getnull()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | // |
| | | // public String getInspectId$(){ |
| | | // QlyInspectService service = SpringUtils.getBean(QlyInspectService.class); |
| | | // QlyInspect qlyInspect = service.getById(this.inspectId); |
| | | // if (!Cools.isEmpty(qlyInspect)){ |
| | | // return String.valueOf(qlyInspect.getCode()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | // |
| | | // public String getLocId$(){ |
| | | // LocService service = SpringUtils.getBean(LocService.class); |
| | | // Loc loc = service.getById(this.locId); |
| | | // if (!Cools.isEmpty(loc)){ |
| | | // return String.valueOf(loc.getCode()); |
| | | // } |
| | | // return null; |
| | | // } |
| | | // |
| | | // public String getLockedTime$(){ |
| | | // if (Cools.isEmpty(this.lockedTime)){ |
| | | // return ""; |
| | | // } |
| | | // return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.lockedTime); |
| | | // } |
| | | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |