Commit 61614755 authored by arawankar's avatar arawankar

EmpLeaveConf.java

-Changes made to resolve the issue of feedback server
-issue occured while prev or next day is holiday

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@198763 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ee86a19a
...@@ -1793,8 +1793,12 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal, ...@@ -1793,8 +1793,12 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
System.out.println("holType---["+holType+"]"); System.out.println("holType---["+holType+"]");
if(holType != null && holType.trim().length() > 0) if(holType != null && holType.trim().length() > 0)
{ {
System.out.println("utilMethod.pos(holType, \"HW\")--["+utilMethod.pos(holType, "HW")+"]"); //Modified by Anjali R. on[25/03/2019][Start]
if(utilMethod.pos(holType, "HW") == 0 ) /*System.out.println("utilMethod.pos(holType, \"HW\")--["+utilMethod.pos(holType, "HW")+"]");
if(utilMethod.pos(holType, "HW") == 0 )*/
System.out.println("utilMethod.pos(holType, \"HW\")--["+utilMethod.pos("HW",holType)+"]");
if(utilMethod.pos ("HW",holType) == 0 )
//Modified by Anjali R. on[25/03/2019][End]
{ {
errCode = holType; errCode = holType;
return errCode; return errCode;
...@@ -1935,7 +1939,10 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal, ...@@ -1935,7 +1939,10 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
System.out.println("holType--["+holType+"]"); System.out.println("holType--["+holType+"]");
if(holType != null && holType.trim().length() > 0) if(holType != null && holType.trim().length() > 0)
{ {
if(utilMethod.pos(holType , "HW") == 0) //Modified by Anjali R. on[25/03/2019][Start]
//if(utilMethod.pos(holType , "HW") == 0)
if(utilMethod.pos("HW",holType) == 0)
//Modified by Anjali R. on[25/03/2019][End]
{ {
errCode = holType; errCode = holType;
} }
......
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