Commit dca97b11 authored by pchavan's avatar pchavan

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@192020 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3b74a9c3
...@@ -12567,7 +12567,8 @@ public class FinCommon ...@@ -12567,7 +12567,8 @@ public class FinCommon
ITMDBAccessEJB itmDBAccessEJB = null; ITMDBAccessEJB itmDBAccessEJB = null;
// GenericUtility genericUtility = null; // GenericUtility genericUtility = null;
SimpleDateFormat sdf = null; SimpleDateFormat sdf = null;
HashMap glTran = null; HashMap glTran = new HashMap(); // Changed By PRiyankaC.
try{ try{
//pstmt = conn.PreparedStatement(); //pstmt = conn.PreparedStatement();
// genericUtility = new GenericUtility(); // genericUtility = new GenericUtility();
...@@ -12668,9 +12669,10 @@ public class FinCommon ...@@ -12668,9 +12669,10 @@ public class FinCommon
"( gltrace.ref_ser = '"+refSer+"' ) and " + "( gltrace.ref_ser = '"+refSer+"' ) and " +
"( gltrace.ref_id = '"+refId+"' )"; "( gltrace.ref_id = '"+refId+"' )";
System.out.println("SQL :"+sql); System.out.println("SQL :"+sql);
rs = stmt.executeQuery(sql); rs = pstmt.executeQuery(sql);
if(rs.next()){ if(rs.next())
glTran = new HashMap(); {
//glTran = new HashMap(); // Changed By PriyankaC on 16Oct2018.
glTran.put("tran_date",rs.getTimestamp(1)); glTran.put("tran_date",rs.getTimestamp(1));
glTran.put("eff_date",rs.getTimestamp(2)); glTran.put("eff_date",rs.getTimestamp(2));
glTran.put("fin_entity",checkNull(rs.getString(3))); glTran.put("fin_entity",checkNull(rs.getString(3)));
......
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