Skip to content

Commit

Permalink
Merge pull request #106 from ravishanigarapu/develop
Browse files Browse the repository at this point in the history
ServiceID changes
  • Loading branch information
devikasuresh20 authored Nov 18, 2024
2 parents a6869b5 + 2d9f455 commit 2be93bd
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Setup JDK 8
- name: Setup JDK 17
uses: actions/setup-java@v2
with:
java-version: 8
java-version: 17
distribution: 'adopt'
- name: Build with Maven
run: mvn clean install
6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup JDK 8
- name: Setup JDK 17
uses: actions/setup-java@v2
with:
java-version: 8
java-version: 17
distribution: 'adopt'

- name: Build with Maven
Expand All @@ -36,7 +36,7 @@ jobs:
run: mvn -B package --file pom.xml

- name: Upload WAR file as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: HWC-API
path: target/hwc-facility-service.war
4 changes: 2 additions & 2 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
with:
languages: ${{ matrix.language }}

- name: Setup JDK 8
- name: Setup JDK 17
uses: actions/setup-java@v2
with:
java-version: 8
java-version: 17
distribution: 'adopt'

- name: Build with Maven
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_ci.properties
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ servicePointID: 235
parkingPlaceID: 233
providerServiceMapID: 1261
vanID: 220
serviceID: 4
serviceID: 9
providerID: 500
appId: 85696
authKey: 8BfRcBAGkTQkbQ6
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_dev.properties
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ servicePointID= 235
parkingPlaceID= 233
providerServiceMapID= 1261
vanID= 220
serviceID= 4
serviceID= 9
providerID= 500
appId= 85696
authKey= 8BfRcBAGkTQkbQ6
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_example.properties
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ servicePointID= 235
parkingPlaceID= 233
providerServiceMapID= 1261
vanID= 220
serviceID= 4
serviceID= 9
providerID= 500
appId= 85696
authKey= 8BfRcBAGkTQkbQ6
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_prod.properties
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ servicePointID= 235
parkingPlaceID= 233
providerServiceMapID= 1261
vanID= 220
serviceID= 4
serviceID= 9
providerID= 500
appId= 85696
authKey= 8BfRcBAGkTQkbQ6
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_test.properties
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ servicePointID: 235
parkingPlaceID: 233
providerServiceMapID: 1261
vanID: 220
serviceID: 4
serviceID: 9
providerID: 500
appId: 85696
authKey: 8BfRcBAGkTQkbQ6
Expand Down
2 changes: 1 addition & 1 deletion src/main/environment/common_uat.properties
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ servicePointID: 235
parkingPlaceID: 233
providerServiceMapID: 1261
vanID: 220
serviceID: 4
serviceID: 9
providerID: 500
appId: 85696
authKey: 8BfRcBAGkTQkbQ6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ private String getANC_PrintData(BeneficiaryFlowStatus benFlowOBJ) throws IEMRExc
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -245,7 +245,7 @@ private String getCancerScreening_PrintData(BeneficiaryFlowStatus benFlowOBJ) {
new Gson().toJson(cSNurseServiceImpl.getCancerExaminationImageAnnotationCasesheet(
benFlowOBJ.getBeneficiaryRegID(), benFlowOBJ.getBenVisitCode())));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -262,7 +262,7 @@ private String getGenOPD_PrintData(BeneficiaryFlowStatus benFlowOBJ) throws Exce
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -279,7 +279,7 @@ private String getFP_PrintData(BeneficiaryFlowStatus benFlowOBJ) throws Exceptio
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -299,7 +299,7 @@ private String getNNI_PrintData(BeneficiaryFlowStatus benFlowOBJ) throws Excepti
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -319,7 +319,7 @@ private String getCAC_PrintData(BeneficiaryFlowStatus benFlowOBJ) throws Excepti
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -336,7 +336,7 @@ private String getNCDcare_PrintData(BeneficiaryFlowStatus benFlowOBJ) throws IEM
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -353,7 +353,7 @@ private String getPNC_PrintData(BeneficiaryFlowStatus benFlowOBJ) throws IEMRExc
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -370,7 +370,7 @@ private String getQC_PrintData(BeneficiaryFlowStatus benFlowOBJ) {
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -387,7 +387,7 @@ private String getCovid19_PrintData(BeneficiaryFlowStatus benFlowOBJ) throws IEM
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand All @@ -404,7 +404,7 @@ private String getNCDScreening_PrintData(BeneficiaryFlowStatus benFlowOBJ) throw
caseSheetData.put("BeneficiaryData",
getBenDetails(benFlowOBJ.getBenFlowID(), benFlowOBJ.getBeneficiaryRegID()));

caseSheetData.put("serviceID", 4);
caseSheetData.put("serviceID", 9);

return caseSheetData.toString();
}
Expand Down Expand Up @@ -539,7 +539,7 @@ public String getBenPreviousVisitDataForCaseRecord(String comingRequest) throws
// List<Short> flagList = new ArrayList<>();
// flagList.add((short) 9);
// flagList.add((short) 3);
List<Integer> psmIDList = providerServiceMappingRepo.getProviderServiceMapIdForServiceID((short) 4);
List<Integer> psmIDList = providerServiceMappingRepo.getProviderServiceMapIdForServiceID((short) 9);
psmIDList.add(0);
ArrayList<Object[]> resultList = beneficiaryFlowStatusRepo.getBenPreviousHistory(obj.getBeneficiaryRegID(),
psmIDList);
Expand Down

0 comments on commit 2be93bd

Please sign in to comment.