Skip to content

Commit 17dcb5a

Browse files
authored
Merge pull request #85 from ravishanigarapu/develop
Responce Change in Registration
2 parents 3368aef + 6f25dc8 commit 17dcb5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/iemr/tm/service/registrar/RegistrarServiceImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -674,15 +674,15 @@ public String registerBeneficiary(String comingRequest, String Authorization) th
674674

675675
BeneficiaryFlowStatus obj = InputMapper.gson().fromJson(comingRequest, BeneficiaryFlowStatus.class);
676676
if (obj != null && obj.getIsMobile() != null && obj.getIsMobile()) {
677-
responseMap.put("response", "Beneficiary successfully registered. Beneficiary ID is : "+beneficiaryID);
677+
responseMap.put("response", "Beneficiary successfully registered. Beneficiary ID is : "+ beneficiaryID+" , BenRegID is : "+beneficiaryRegID);
678678
response1.setResponse(new Gson().toJson(responseMap));
679679

680680
} else {
681681
int i = commonBenStatusFlowServiceImpl.createBenFlowRecord(comingRequest, beneficiaryRegID,
682682
beneficiaryID);
683683

684684
if (i > 0) {
685-
responseMap.put("response", "Beneficiary successfully registered. Beneficiary ID is : "+beneficiaryID);
685+
responseMap.put("response", "Beneficiary successfully registered. Beneficiary ID is : "+ beneficiaryID+" , BenRegID is : "+beneficiaryRegID);
686686
response1.setResponse(new Gson().toJson(responseMap));
687687

688688
} else {

0 commit comments

Comments
 (0)