Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.iemr.inventory</groupId>
<artifactId>inventory-api</artifactId>
<version>3.2.1</version>
<version>3.4.0</version>
<packaging>war</packaging>
<name>Inventory-API</name>
<description>Inventory Page</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ List<T_PatientIssue> findByFacilityIDAndCreatedDateBetweenOrderByCreatedDateDesc

@Transactional
@Modifying
@Query(value = " UPDATE db_iemr.i_ben_flow_outreach SET pharmacist_flag = 9, Processed = 'U' "
@Query(value = " UPDATE i_ben_flow_outreach SET pharmacist_flag = 9, Processed = 'U' "
+ " WHERE beneficiary_reg_id = :benRegID AND beneficiary_visit_code = :benVisitCode ", nativeQuery = true)
public int updateBenStatusFlowAfterPharma(@Param("benRegID") Long benRegID,
@Param("benVisitCode") Long benVisitCode);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,15 @@ public List<AllocateItemMap> getItemStockFromItemID(Integer facilityID, List<Ite

ItemMaster item = itemService.getItemMasterCatByID(itemStockExit.getItemID());


System.out.println("Test Item: " + item.toString());
System.out.println("Test item category: "+ item.getItemCategory());
System.out.println("Test item issuetype: "+ item.getItemCategory().getIssueType());
System.out.println("Test facilityID: "+ item.getFacilityID());
System.out.println("Test itemStockExit: "+ itemStockExit.toString());
System.out.println("Test itemStockExit.getDuration(): "+ itemStockExit.getDuration());


allocateItemMap.setFacilityID(item.getFacilityID());
allocateItemMap.setItemID(item.getItemID());
allocateItemMap.setItemName(item.getItemName());
Expand Down
Loading