Commit b5020046 authored by sgadve's avatar sgadve

Updated Scheme approval logics

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196503 ce508802-f39f-4f6c-b175-0d175dae99d5
parent cf1cd998
...@@ -180,11 +180,10 @@ public class SchemeApprv extends ValidatorEJB ...@@ -180,11 +180,10 @@ public class SchemeApprv extends ValidatorEJB
} }
else else
{ {
String str = "select count(1) from customer where cust_code = ? and channel_partner = ?"; String str = "select count(1) from customer where cust_code = ?";
int count = 0; int count = 0;
pstmt = conn.prepareStatement(str); pstmt = conn.prepareStatement(str);
pstmt.setString(1, custCode); pstmt.setString(1, custCode);
pstmt.setString(2, "Y");
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if(rs.next()) if(rs.next())
{ {
......
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