Commit cbb74e5d authored by arawankar's avatar arawankar

Changes made in TransporterIc.java

1.Changed in validation of group code

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@182195 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 722cf778
......@@ -256,7 +256,8 @@ public class TransporterIC extends ValidatorEJB implements TransporterICLocal, T
if(!(groupCode.trim().equals(tranCode.trim())))
//Modified by Anjali R. on[15/03/2018][To check tran code is same as group code or not][End]
{
sql = " select count(*) from transporter where tran_code = ? ";
//sql = " select count(*) from transporter where tran_code = ? ";
sql = " select count(*) from transporter where group_code = ? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, groupCode);
rs = pstmt.executeQuery();
......@@ -276,7 +277,6 @@ public class TransporterIC extends ValidatorEJB implements TransporterICLocal, T
pstmt = null;
}
}
}
else if(childNodeName.equalsIgnoreCase("tran_code__pay"))
......
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