Commit e9a3c14f authored by jshaikh's avatar jshaikh

Added some changes related to emp_code and emp_name in EmployeeAdIC

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203010 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e26c45d1
......@@ -1037,7 +1037,9 @@ public class EmployeeAdIC extends ValidatorEJB implements EmployeeAdICLocal,Empl
effDate=todayTm;
System.out.println("effDateStr:::::"+ effDateStr + " effDate:::::" + effDate);
sql = "select pay_site,date_join from employee where emp_code = ?";
//-----Modified by Jaffar S. on 05-Jul-2019
//sql = "select pay_site,date_join from employee where emp_code = ?";
sql = "select pay_site,date_join, FN_GET_EMP_NAME(?,'FL1') as emp_name from employee where emp_code = ?";
pstmt= conn.prepareStatement(sql);
pstmt.setString(1,empCode);
rs = pstmt.executeQuery();
......@@ -1045,6 +1047,7 @@ public class EmployeeAdIC extends ValidatorEJB implements EmployeeAdICLocal,Empl
{
paySite= checkNull(rs.getString("pay_site"));
joinDate= rs.getTimestamp("date_join");
empName = checkNull(rs.getString("emp_name"));//Added by Jaffar S. on 05th July 2019
}
......
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