Replace CustomerExtrenalInfo.jsp

parent f2aac261
...@@ -49,12 +49,14 @@ ...@@ -49,12 +49,14 @@
if ("pan".equals(selectedOption)) { if ("pan".equals(selectedOption)) {
panNumber = dbAccess.getDBColumnValue("CUSTOMER", "PAN_NO", "CUST_CODE = '" + custCode + "'", userInfo.getTransDB()); panNumber = dbAccess.getDBColumnValue("CUSTOMER", "PAN_NO", "CUST_CODE = '" + custCode + "'", userInfo.getTransDB());
BaseLogger.log("3", null, null, "PanNumber:: " + panNumber);
if (panNumber != null && !panNumber.isEmpty()) { if (panNumber != null && !panNumber.isEmpty()) {
panVerificationResponse = dbAccess.getDBColumnValue("CUST_EXT_INFO", "INFO_RESPONSE", "CUST_CODE = '" + custCode + "' AND INFO_TYPE = 'Pan Verification'", userInfo.getTransDB()); panVerificationResponse = dbAccess.getDBColumnValue("CUST_EXT_INFO", "INFO_RESPONSE", "CUST_CODE = '" + custCode + "' AND INFO_TYPE = 'Pan Verification'", userInfo.getTransDB());
BaseLogger.log("3", null, null, "INFO_RESPONSE Against the Pan:: " + panVerificationResponse);
if (panVerificationResponse == null) { if (panVerificationResponse == null) {
// Call the API if panVerificationResponse is null // Call the API if panVerificationResponse is nullpanVerificationResponse
try { try {
String apiUrl = "https://sandboxapi.atlas.vayana.com/AtlasApi/v1.0/aadhaar/udyam/verification"; String apiUrl = "https://sandboxapi.atlas.vayana.com/AtlasApi/v1.0/aadhaar/udyam/verification";
URL url = new URL(apiUrl); URL url = new URL(apiUrl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment