Commit a5248354 authored by ysawant's avatar ysawant

*added changes in LoanSchemeIntRate component on

LoanSchemeIntRate.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@210457 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 00dff27f
...@@ -143,37 +143,6 @@ public class LoanSchemeIntRate extends ValidatorEJB implements LoanSchemeIntRate ...@@ -143,37 +143,6 @@ public class LoanSchemeIntRate extends ValidatorEJB implements LoanSchemeIntRate
break; break;
} }
} }
else
{
sql = "select count(*) as cnt from gencodes where MOD_NAME='W_LOANSCHEME_INT_RATE' and FLD_VALUE = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, schemeType);
rs = pstmt.executeQuery();
if(rs.next())
{
slctCnt = rs.getInt("cnt");
}
if(slctCnt == 0)
{
errList.add( "VTLOANSC11" );
errFields.add(childNodeName.toLowerCase());
msgType = errorType( conn , "VTLOANSC11" );
if ( "E".equalsIgnoreCase(msgType) )
{
break;
}
}
if (rs != null)
{
rs.close();
rs = null;
}
if (pstmt != null)
{
pstmt.close();
pstmt = null;
}
}
} }
else if( "eff_from".equalsIgnoreCase( childNodeName ) ) else if( "eff_from".equalsIgnoreCase( childNodeName ) )
......
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