Commit 2b08705d authored by sanashaikh's avatar sanashaikh

Sana S: Modified on 05/03/20

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217552 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e20d6ea7
......@@ -76,7 +76,7 @@ public class GradeWisePerkIC extends ValidatorEJB implements GradeWisePerkLocal,
String errString = "",errCode= "";
String userId = "";
String mval1= "",mval= "";
String sql = "",ls_accfilt="";
String sql = "",lsAccfilt="";
String effDateStr = "",gradeCode="";
String expDateStr = "";
int currentFormNo = 0;
......@@ -306,7 +306,7 @@ public class GradeWisePerkIC extends ValidatorEJB implements GradeWisePerkLocal,
{
//Modified by Sana S on 14/01/2020 [start]
//ls_accfilt = rs.getString("ls_accfilt");
ls_accfilt = checkNull(rs.getString("ls_accfilt"));
lsAccfilt = checkNull(rs.getString("ls_accfilt"));
//Modified by Sana S on 14/01/2020 [end]
}
if (rs != null)
......@@ -319,14 +319,14 @@ public class GradeWisePerkIC extends ValidatorEJB implements GradeWisePerkLocal,
pstmt.close();
pstmt = null;
}
System.out.print("ls_accfilt:"+ls_accfilt);
System.out.print("ls_accfilt:"+lsAccfilt);
//Modified by Sana S on 14/01/2020 [start]
if(!ls_accfilt.equals("") && ls_accfilt.trim().length() > 0)
if(!lsAccfilt.equals("") && lsAccfilt.trim().length() > 0)
//if(ls_accfilt != null && ls_accfilt.trim().length() > 0) //Modified by Shital on 13/01/2020
//Modified by Sana S on 14/01/2020 [end]
{
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 " + lsAccfilt;
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, mval);
......@@ -730,7 +730,7 @@ public class GradeWisePerkIC extends ValidatorEJB implements GradeWisePerkLocal,
Date proccFor=null,nextProcDate=null;
String nextProcDate1=null;
UtilMethods utilMethods=new UtilMethods();
SimpleDateFormat sdf=new SimpleDateFormat("dd/MM/yy");
//SimpleDateFormat sdf=new SimpleDateFormat("dd/MM/yy");
//Added by Sana S on 14/01/2020 [start]
String amount="";
......@@ -738,6 +738,7 @@ public class GradeWisePerkIC extends ValidatorEJB implements GradeWisePerkLocal,
try
{
SimpleDateFormat sdf = new SimpleDateFormat( genericUtility.getApplDateFormat() );
genericUtility = new E12GenericUtility();
System.out.println("currentFormNo...." + currentFormNo);
conn = getConnection();
......
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