Commit 892337e6 authored by pshinde's avatar pshinde

Source Code changes in Ecollection Scheduler


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99324 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5377c4eb
......@@ -201,7 +201,7 @@ public class EcollectionSchedule implements Schedule
finEntity = finEntity == null ? "" : finEntity.trim();
bankAmount=0;
sql1 = " select amount from banktran_log where site_code=? and bank_code= ? and ref_no= ?";
sql1 = " select amount from bank_statement where site_code=? and bank_code= ? and ref_no= ?";
pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, siteCode);
pstmt1.setString(2, bankCode);
......
......@@ -148,7 +148,7 @@ public class EcollectionSubIC extends ValidatorEJB implements EcollectionSubICLo
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
sql = " select count(*) as cnt from banktran_log where site_code = ? and bank_code=? and ref_no=? ";
sql = " select count(*) as cnt from bank_statement where site_code = ? and bank_code=? and ref_no=? ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, siteCode);
pstmt.setString(2, bankCode);
......
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