Commit 6f95bbe8 authored by ssalve's avatar ssalve

Sarita : Committed by sarita

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@201277 ce508802-f39f-4f6c-b175-0d175dae99d5
parent affbc888
......@@ -1494,20 +1494,6 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
valueXmlString.append( "<claim_date><![CDATA[" ).append(curDate).append( "]]></claim_date>\r\n" );
valueXmlString.append( "<adjust_loan><![CDATA[" ).append(adjLoan).append( "]]></adjust_loan>\r\n" );
valueXmlString.append("</Detail"+objContext+">");
empCodeOld = empCode;
System.out.println("empCodeOld is ["+empCodeOld+"] \t empCode is ["+empCode+"]");
if(det2Data.containsKey(empCode))
{
det2Data.put(empCode, (det2Data.get(empCode)+1));
}
else
{
det2Data.clear();
det2Data.put(empCode, 1);
}
System.out.println("det2Data :::: ["+det2Data+"] \t LENGTH ["+det2Data.size()+"] ");
}
if (rs != null)
{
......@@ -1552,15 +1538,6 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
claimDate = sdf.parse(genericUtility.getColumnValue("claim_date", hdrDom));
System.out.println("adjLoan["+adjLoan+"]\t empCode["+empCode+"]\t adCode["+adCode+"]\t claimDateStr["+claimDate+"]\t startDateRec2["+startDateRec2+"]\t endDateRec2["+endDateRec2+"]");
if(det2Data.containsKey(empCode))
{
det2Data.put(empCode, (det2Data.get(empCode)+1));
}
else
{
det2Data.put(empCode, 1);
}
System.out.println("case 3 IC...123");
applDateFormat = genericUtility.getApplDateFormat();
sdf = new SimpleDateFormat(applDateFormat);
......@@ -1691,8 +1668,6 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
+ "loanBalAmt1 ["+loanBalAmt1+"]\t loanMonInst1 ["+loanMonInst1+"]\t "
+ "loanInterest1 ["+loanInterest1+"]");
System.out.println("Detail2 Unique Record :: startDateRec2 ["+startDateRec2+"] \t endDateRec2 ["+endDateRec2+"] \t empCode ["+empCode+"] \t adCode ["+adCode+"]");
System.out.println("Detail3 Unique Record :: startDate ["+startDate+"] \t endDate ["+endDate+"] \t empCode ["+empCode+"] \t loanAdCode ["+loanAdCode+"]");
valueXmlString.append("<Detail3 domID='" + domIDDet + "' selected=\"Y\">\r\n");
......@@ -1758,7 +1733,6 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
String totalAmt1 = df.format(totalAmt);
System.out.println(" totalAmt1 after. Formatting...["+totalAmt1+"]");
valueXmlString.append( "<total_amt><![CDATA[" ).append(totalAmt1).append( "]]></total_amt>\r\n" );
valueXmlString.append("</Detail3>\r\n");
}
......@@ -1784,7 +1758,6 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
pstmt = null;
}
}
}
break;
}
......@@ -1891,7 +1864,7 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
return inputVal.trim();
}
// Modified by Piyush on 02/04/2015[For not allow skipping of claim].Start
private boolean checkSkipping(String empCode , String adCode , Timestamp claimDate , ArrayList startDateList , Timestamp maxStartDate , ArrayList balAmtList , Connection conn )throws RemoteException,ITMException
{
String sql = "";
......@@ -2075,16 +2048,13 @@ public class PerkClaimIC extends ValidatorEJB implements PerkClaimICLocal, PerkC
totalAmt1 = totalAmt1 +totalAmt;
System.out.println("totalAmt1::"+totalAmt1);
}
if(columnValue == null)
columnValue = "";
}
catch( Exception exp )
{
exp.printStackTrace();
}
return totalAmt1;
}
}
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