Commit 2a9d3b89 authored by dsawant's avatar dsawant

updated for auto generation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94306 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6ae17e1c
...@@ -254,28 +254,28 @@ public class TransporterIC extends ValidatorEJB implements TransporterICLocal, T ...@@ -254,28 +254,28 @@ public class TransporterIC extends ValidatorEJB implements TransporterICLocal, T
if(tranCodePay != null && tranCodePay.trim().length() > 0) if(tranCodePay != null && tranCodePay.trim().length() > 0)
{ {
if(!(tranCodePay.equals(tranCode))) // if(!(tranCodePay.equals(tranCode)))
{ // {
sql = " select count(*) from transporter where tran_code = ? "; // sql = " select count(*) from transporter where tran_code = ? ";
pstmt = conn.prepareStatement(sql); // pstmt = conn.prepareStatement(sql);
pstmt.setString(1, tranCode); // pstmt.setString(1, tranCode);
rs = pstmt.executeQuery(); // rs = pstmt.executeQuery();
if(rs.next()) // if(rs.next())
{ // {
cnt = rs.getInt(1); // cnt = rs.getInt(1);
if(cnt == 0) // if(cnt == 0)
{ // {
errCode = "VMPAYTO"; // errCode = "VMPAYTO";
errList.add(errCode); // errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); // errFields.add(childNodeName.toLowerCase());
break; // break;
} // }
} // }
rs.close(); // rs.close();
rs = null; // rs = null;
pstmt.close(); // pstmt.close();
pstmt = null; // pstmt = null;
} // }
} }
// errCode = "VMTYPE"; // errCode = "VMTYPE";
// errList.add(errCode); // errList.add(errCode);
......
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