|
@@ -269,7 +269,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
//有出库记录
|
|
//有出库记录
|
|
if (!CollectionUtils.isEmpty(warehouseInOutInfo1)) {
|
|
if (!CollectionUtils.isEmpty(warehouseInOutInfo1)) {
|
|
for (WarehouseInOutInfo warehouseInOutInfos : warehouseInOutInfo1) {
|
|
for (WarehouseInOutInfo warehouseInOutInfos : warehouseInOutInfo1) {
|
|
- if (StringUtils.isEmpty(inNetWeight)) {
|
|
|
|
|
|
+ if (StringUtils.isEmpty(outNetWeight)) {
|
|
outNetWeight = "0";
|
|
outNetWeight = "0";
|
|
}
|
|
}
|
|
outNetWeight = String.valueOf(Float.valueOf(outNetWeight) + warehouseInOutInfos.getNetWeight());
|
|
outNetWeight = String.valueOf(Float.valueOf(outNetWeight) + warehouseInOutInfos.getNetWeight());
|