Commit b04e9372 authored by sanashaikh's avatar sanashaikh

Sana S: Modified on 15/11/19

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@212068 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a25020d0
...@@ -238,12 +238,12 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal, ...@@ -238,12 +238,12 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mval); pstmt.setString(1, mval);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
String payable="P";
if (rs.next()) if (rs.next())
{ {
mtype = rs.getString("mtype"); mtype = rs.getString("mtype");
} }
if("P" != mtype) if(!mtype.equals(payable))
{ {
System.out.print("mtype::"+mtype); System.out.print("mtype::"+mtype);
/*errCode="VTADTYP"; /*errCode="VTADTYP";
......
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