Commit 9c865c1d authored by sanashaikh's avatar sanashaikh

Sana S: Modified on 04/11/19

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211205 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5a5bdbad
......@@ -161,13 +161,17 @@ public class PayrollProcess extends ProcessEJB implements PayrollProcessLocal,Pa
System.out.print("EmpCodeList:"+EmpCodeList.size());
sql = "update payroll set remarks = ? where "
+ "prd_code between ? and ? and "
+ "emp_code = ? ";
pstmt = con.prepareStatement(sql);
for(int i = 0; i < EmpCodeList.size(); i++)
{
sql = "explain plan for update payroll set remarks = ? where "
+ "prd_code between ? and ? and "
+ "emp_code = ? ";
pstmt = con.prepareStatement(sql);
System.out.print("Inside Update");
pstmt.setString(1, remarks);
pstmt.setString(2, fromPrd);
pstmt.setString(3, toPrd);
......
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