Commit 9a1aa7a0 authored by msharma's avatar msharma

Updated Error Message Done by Akhilesh


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91651 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0954fa75
...@@ -434,6 +434,7 @@ implements ReceiptAdvLocal, ReceiptAdvRemote ...@@ -434,6 +434,7 @@ implements ReceiptAdvLocal, ReceiptAdvRemote
} }
} }
} }
}
else if (childNodeName.equalsIgnoreCase("cctr_code__cf")) else if (childNodeName.equalsIgnoreCase("cctr_code__cf"))
{ {
cctrCodeCf = this.genericUtility.getColumnValue("cctr_code__cf", dom); cctrCodeCf = this.genericUtility.getColumnValue("cctr_code__cf", dom);
...@@ -511,7 +512,7 @@ implements ReceiptAdvLocal, ReceiptAdvRemote ...@@ -511,7 +512,7 @@ implements ReceiptAdvLocal, ReceiptAdvRemote
if(bankCode != null && bankCode.trim().length() > 0) if(bankCode != null && bankCode.trim().length() > 0)
{ {
siteCode = this.genericUtility.getColumnValue("site_code", dom); siteCode = this.genericUtility.getColumnValue("site_code", dom);
errCode = validateCankCode(bankCode, siteCode, conn); errCode = validateBankCode(bankCode, siteCode, conn);
if(errCode != null && errCode.trim().length() > 0) if(errCode != null && errCode.trim().length() > 0)
{ {
errList.add(errCode); errList.add(errCode);
...@@ -526,7 +527,6 @@ implements ReceiptAdvLocal, ReceiptAdvRemote ...@@ -526,7 +527,6 @@ implements ReceiptAdvLocal, ReceiptAdvRemote
} }
} }
}
else if (childNodeName.equalsIgnoreCase("anal_code")) else if (childNodeName.equalsIgnoreCase("anal_code"))
{ {
analCode = this.genericUtility.getColumnValue("anal_code", dom); analCode = this.genericUtility.getColumnValue("anal_code", dom);
...@@ -1623,7 +1623,7 @@ implements ReceiptAdvLocal, ReceiptAdvRemote ...@@ -1623,7 +1623,7 @@ implements ReceiptAdvLocal, ReceiptAdvRemote
return errCode; return errCode;
} }
public String validateCankCode(String bankCode, String siteCode, Connection conn) { public String validateBankCode(String bankCode, String siteCode, Connection conn) {
String sql = ""; String sql = "";
String errCode = ""; String errCode = "";
String siteCodel = ""; String siteCodel = "";
......
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