| | |
| | | if (params.isEmpty()) {
|
| | | throw new CoolException("发货单明细不能为空!!");
|
| | | }
|
| | |
|
| | | return mobileService.confirmShippingDetl(params);
|
| | | }
|
| | | }
|
| | |
| | | /** |
| | | * 订单需求量 |
| | | */ |
| | | private Double anfme; |
| | | private double anfme; |
| | | /** |
| | | * 批次 |
| | | */ |
| | |
| | | /** |
| | | * 实际拣货量 |
| | | */ |
| | | private Double workQty; |
| | | private double workQty; |
| | | /** |
| | | * 备注 |
| | | */ |
| | |
| | | throw new CoolException("订单明细不存在!!");
|
| | | }
|
| | | } else { //部分拣货
|
| | | byId.setQty(order.getWorkQty() + byId.getQty());
|
| | | byId.setQty(Math.round((order.getWorkQty() + byId.getQty()) * 1000) / 1000.0);
|
| | | byId.setWorkQty(0.0);
|
| | | if (!orderDetlService.updateById(byId)) {
|
| | | throw new CoolException("部分拣料明细更新失败!!");
|