|
|
|
@ -284,7 +284,9 @@ public class ShipmentRollServiceImpl extends ServiceImpl<ShipmentRollMapper, Shi |
|
|
|
return baseMapper.queryShipmentRollVoList(shipmentVo); |
|
|
|
} |
|
|
|
return baseMapper.queryTransDetailsub(shipmentVo).stream().map(item->{ |
|
|
|
item.setBoxNoStr(shipmentVo.getShipmentId() + "-" + String.format("%03d", Integer.parseInt(item.getBoxNoStr()))); |
|
|
|
if (!item.getBoxNoStr().contains("-")){ |
|
|
|
item.setBoxNoStr(shipmentVo.getShipmentId() + "-" + String.format("%03d", Integer.parseInt(item.getBoxNoStr()))); |
|
|
|
} |
|
|
|
return item; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
} |
|
|
|
|