| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 商品库存索引 |
| | | */ |
| | | @ApiModelProperty(value= "商品库存索引") |
| | | private String stockIndex; |
| | | |
| | | public OrderDetl() {} |
| | | |
| | | public OrderDetl(Long orderId,String orderNo,Double anfme,Double qty,Double workQty,Long matId,String batch,Long hostId,Integer status,Integer deleted,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) { |
| | |
| | | public Double getWaitQty(){ |
| | | Double qty = 0D; |
| | | WaitPakinService service = SpringUtils.getBean(WaitPakinService.class); |
| | | List<WaitPakin> waitPakins = service.list(new LambdaQueryWrapper<WaitPakin>().eq(WaitPakin::getDetlId, id)); |
| | | List<WaitPakin> waitPakins = service.list(new LambdaQueryWrapper<WaitPakin>().eq(WaitPakin::getDetlId, id).eq(WaitPakin::getIoStatus, 0)); |
| | | for (WaitPakin waitPakin : waitPakins) { |
| | | qty += waitPakin.getAnfme(); |
| | | } |