Skip to content

Commit

Permalink
update java doc of getAllLotsByMedical
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudFonzam committed Jun 27, 2024
1 parent d70166b commit 445dde5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,18 +237,21 @@ private boolean isAutomaticLotOut() {
}

/**
* Retrieves all the lot referred to the specified {@link Medical},
* Retrieves all the lot referred to the specified {@link Medical}, expiring first on top
*
* @param medical the medical.
* @return a list of {@link Lot}.
* @throws OHServiceException if an error occurs retrieving the lot list.
*/
public List<Lot> getAllLotsByMedical(Medical medical) throws OHServiceException {
if (medical == null) {
return new ArrayList<>();
}
return ioOperations.getAllLotsByMedical(medical);
}

/**
* Retrieves all the {@link Lot} associated to the specified {@link Medical}, expiring first on top
* Retrieves all the {@link Lot} associated to the specified {@link Medical}, expiring first on top with zero quantities will be stripped out
*
* @param medical the medical.
* @return the list of retrieved {@link Lot}s.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ public List<Movement> getMovementForPrint(
}

/**
* Retrieves all the lot referred to the specified {@link Medical},
* Retrieves all the lot referred to the specified {@link Medical}, expiring first on top
*
* @param medical the medical.
* @return a list of {@link Lot}.
Expand Down

0 comments on commit 445dde5

Please sign in to comment.