Commit e71ff422 authored by vlagad's avatar vlagad

PB migration related changes in workshift rotate .

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@216556 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 44c3d165
......@@ -260,7 +260,7 @@ public class WorkShiftRotatePrc extends ProcessEJB
sqlQuery.append(" select emp_code,emp_fname,emp_lname,work_shift,shift_rot,hol_tblno,relieve_date from employee ");
sqlQuery.append(" where ( employee.emp_code >= ?) and ");
sqlQuery.append(" (employee.emp_code <= ?) and ");
sqlQuery.append(" (employee.dept_code <= ?) and ");
sqlQuery.append(" (employee.dept_code >= ?) and ");
sqlQuery.append(" (employee.dept_code <= ?) and ");
sqlQuery.append(" (employee.work_site >= ?) and ");
sqlQuery.append(" (employee.work_site <= ?) and ");
......@@ -298,7 +298,7 @@ public class WorkShiftRotatePrc extends ProcessEJB
if( relieveDate != null && relieveDate.compareTo(toDate) <= 0)
{
sql = "delete from work_shift where emp_code = ? and from_dt > ? ";
sql = " delete from work_shift where emp_code = ? and from_dt > ? ";
pStmt = conn.prepareStatement(sql);
pStmt.setString(1, empCode);
pStmt.setTimestamp(2, relieveDate);
......
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