Commit f419b858 authored by sghate's avatar sghate

Updated componnent for not null condition :

CadreWisePerkIC.java
GradeWisePerkIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@215076 ce508802-f39f-4f6c-b175-0d175dae99d5
parent de39440e
...@@ -317,10 +317,8 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal, ...@@ -317,10 +317,8 @@ public class CadreWisePerkIC extends ValidatorEJB implements CadreWisePerkLocal,
pstmt = null; pstmt = null;
} }
System.out.print("ls_accfilt:"+ls_accfilt); System.out.print("ls_accfilt:"+ls_accfilt);
//Modified by Shital on 10/01/2020 [Start]
//if(!ls_accfilt.equals("") && ls_accfilt.trim().length() > 0) //if(!ls_accfilt.equals("") && ls_accfilt.trim().length() > 0)
if(ls_accfilt != null && ls_accfilt.trim().length() > 0) if(ls_accfilt != null && ls_accfilt.trim().length() > 0) //Modified by Shital on 13/01/2020
//Modified by Shital on 10/01/2020 [End]
{ {
System.out.print("U R IN"); System.out.print("U R IN");
sql="select count(1) from allwdedn where ad_code = ? and " + ls_accfilt; sql="select count(1) from allwdedn where ad_code = ? and " + ls_accfilt;
......
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