Commit 03a6aeda authored by agaikwad's avatar agaikwad

Request_id-F15GWIN001

changed from net amount to chq amount in BankPIFProcess


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99226 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9b93b020
......@@ -277,7 +277,7 @@ public class BankPiFprc implements Schedule // extends ProcessEJB implements
}
}
System.out.println("Instrument Number" + InsNo);
sql = "select count(1) from receipt where ref_no = ? and net_amt= ? and entry_batch_no = ?";
sql = "select count(1) from receipt where ref_no = ? and chq_amt= ? and entry_batch_no = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, InsNo);
pstmt.setString(2, totalAmt);
......@@ -293,7 +293,7 @@ public class BankPiFprc implements Schedule // extends ProcessEJB implements
if (cnt > 0)
{
System.out.println("@@ Count>0");
sql = "select tran_id,confirmed from receipt where ref_no = ? and net_amt=? ";
sql = "select tran_id,confirmed from receipt where ref_no = ? and chq_amt=? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, InsNo);
pstmt.setString(2, totalAmt);
......
......@@ -55,7 +55,7 @@ import org.w3c.dom.Document;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
@SuppressWarnings( { "unused" })
@SuppressWarnings({"unused"})
public class BankPifRtgsprc implements Schedule // extends ProcessEJB implements
// BankPiFprcLocal,BankPiFprcRemote{
{
......@@ -214,14 +214,12 @@ public class BankPifRtgsprc implements Schedule // extends ProcessEJB implements
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
conn.setAutoCommit(false);
csvFile = new File( CommonConstants.JBOSSHOME + File.separator+"server"+File.separator+"default"
+ File.separator+"deploy"+File.separator+"updatexls"+File.separator+"RtgsAttachment.xls");
csvFile = new File( CommonConstants.JBOSSHOME + File.separator+"server"+File.separator+"default"+ File.separator+"deploy"+File.separator+"Rtgsupdatexls");
System.out.println(":::::::file Path" + csvFile);
al = readExcelFile(csvFile, sheetNo);
System.out.println("call read excel File" + al.size());
//File file = new File("/home/base/tmp/Rtgs.txt");
file = new File( CommonConstants.JBOSSHOME + File.separator+"server"+File.separator+"default"
+ File.separator+"deploy"+File.separator+"updatexls"+File.separator+"Rtgs.txt");
file = new File( CommonConstants.JBOSSHOME + File.separator+"server"+File.separator+"default"+ File.separator+"deploy"+File.separator+"updatexls"+File.separator+"Rtgs.txt");
if(file.createNewFile())
{
System.out.println(file+" File Created");
......
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