Commit ded2c5d4 authored by dsawant's avatar dsawant

SYNTAX CHANGE


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93134 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 09e7b9b2
......@@ -241,7 +241,7 @@ public class StrgCustBank extends ValidatorEJB implements StrgCustBankLocal,
String city_ben = genericUtility.getColumnValue("city__ben",dom);
if(city_ben != null & city_ben.length() > 0)
if(city_ben != null && city_ben.length() > 0)
{
sql = "select count(1) from station where city = ? ";
pStmt=conn.prepareStatement(sql);
......@@ -269,7 +269,7 @@ public class StrgCustBank extends ValidatorEJB implements StrgCustBankLocal,
{
String state_code__ben = genericUtility.getColumnValue("state_code__ben",dom);
if(state_code__ben != null & state_code__ben.length() > 0)
if(state_code__ben != null && state_code__ben.length() > 0)
{
sql = "select count(1) from state where state_code = ? ";
pStmt=conn.prepareStatement(sql);
......@@ -297,7 +297,7 @@ public class StrgCustBank extends ValidatorEJB implements StrgCustBankLocal,
{
String count_code__ben = genericUtility.getColumnValue("count_code__ben",dom);
if(count_code__ben != null & count_code__ben.length() > 0)
if(count_code__ben != null && count_code__ben.length() > 0)
{
sql = "select count(1) from country where count_code = ? ";
pStmt=conn.prepareStatement(sql);
......@@ -349,9 +349,10 @@ public class StrgCustBank extends ValidatorEJB implements StrgCustBankLocal,
else if(childNodeName.equalsIgnoreCase("city__inter"))
{
System.out.println("DDEEPPAAKK");
String city_inter = genericUtility.getColumnValue("city__inter",dom);
if(city_inter != null & city_inter.length() > 0)
if(city_inter != null && city_inter.length() > 0)
{
sql = "select count(1) from station where city = ? ";
pStmt=conn.prepareStatement(sql);
......@@ -379,7 +380,7 @@ public class StrgCustBank extends ValidatorEJB implements StrgCustBankLocal,
{
String state_code__inter = genericUtility.getColumnValue("state_code__inter",dom);
if(state_code__inter != null & state_code__inter.length() > 0)
if(state_code__inter != null && state_code__inter.length() > 0)
{
sql = "select count(1) from state where state_code = ? ";
pStmt=conn.prepareStatement(sql);
......@@ -408,7 +409,7 @@ public class StrgCustBank extends ValidatorEJB implements StrgCustBankLocal,
{
String count_code__inter = genericUtility.getColumnValue("count_code__inter",dom);
if(count_code__inter != null & count_code__inter.length() > 0)
if(count_code__inter != null && count_code__inter.length() > 0)
{
sql = "select count(1) from country where count_code = ? ";
pStmt=conn.prepareStatement(sql);
......
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