Commit c28a16eb authored by ajadhav's avatar ajadhav

Changes in SQL add REF_NO is NOT NULL

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184576 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 22c3fe9c
...@@ -245,6 +245,7 @@ conn = getConnection(); ...@@ -245,6 +245,7 @@ conn = getConnection();
+ " from bank_statement " + " from bank_statement "
+ " where site_code = ? " + " where site_code = ? "
+ " and bank_code = ? " + " and bank_code = ? "
+ "and REF_NO IS NOT NULL" //Add By Ajay Jadhav on 07/05/18
+ " and ( STATUS ='P' OR STATUS ='E' OR STATUS IS NULL ) GROUP BY ref_no "; + " and ( STATUS ='P' OR STATUS ='E' OR STATUS IS NULL ) GROUP BY ref_no ";
System.out.println("query executed(bank_statement):::"+sql); System.out.println("query executed(bank_statement):::"+sql);
try try
...@@ -291,6 +292,7 @@ conn = getConnection(); ...@@ -291,6 +292,7 @@ conn = getConnection();
+ " from banktran_log " + " from banktran_log "
+ " where site_code = ? " + " where site_code = ? "
+ " and bank_code = ? " + " and bank_code = ? "
+"and REF_NO IS NOT NULL "//Add by Ajay Jadhav on 07/05/18
+ " and ( STATUS ='P' OR STATUS ='E' OR STATUS IS NULL ) GROUP BY ref_no "; + " and ( STATUS ='P' OR STATUS ='E' OR STATUS IS NULL ) GROUP BY ref_no ";
//End Changes - Gulzar - 16/01/09 (FI8PHE023) //End Changes - Gulzar - 16/01/09 (FI8PHE023)
} }
...@@ -302,6 +304,7 @@ conn = getConnection(); ...@@ -302,6 +304,7 @@ conn = getConnection();
+ " from banktran_log " + " from banktran_log "
+ " where site_code = ? " + " where site_code = ? "
+ " and bank_code = ? " + " and bank_code = ? "
+"and ENTRY_BATCH_NO IS NOT NULL "//Add by Ajay Jadhav on 07/05/18
+ " and ( STATUS ='P' OR STATUS ='E' OR STATUS IS NULL ) GROUP BY ENTRY_BATCH_NO "; + " and ( STATUS ='P' OR STATUS ='E' OR STATUS IS NULL ) GROUP BY ENTRY_BATCH_NO ";
} }
......
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