Commit 65a08f57 authored by arawankar's avatar arawankar

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@187740 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0c094932
......@@ -4961,7 +4961,7 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
StartTime = rs.getTimestamp("START_TIME");
EndTime = rs.getTimestamp("END_TIME");
}
SimpleDateFormat simpledf = new SimpleDateFormat(genericUtility.getApplDateFormat());
xmlString = new StringBuffer("<?xml version='1.0' encoding='UTF-8'?>");
xmlString.append("<DocumentRoot>");
xmlString.append("<header0>");
......@@ -4971,19 +4971,19 @@ public class EmpLeaveConf extends ActionHandlerEJB implements EmpLeaveConfLocal,
xmlString.append("<leave_ends>").append("<![CDATA[" + leavesStart + "]]>").append("</leave_ends>");
xmlString.append("<leave_starts>").append("<![CDATA[" + leavesEnd + "]]>").append("</leave_starts>");
xmlString.append("<use_flag>").append("<![CDATA[" + useFlag + "]]>").append("</use_flag>");
xmlString.append("<lve_date_fr>").append("<![CDATA[" + lveDateFor + "]]>").append("</lve_date_fr>");
xmlString.append("<lve_date_to>").append("<![CDATA[" + lveDateTo + "]]>").append("</lve_date_to>");
xmlString.append("<lve_date_fr>").append("<![CDATA[" + simpledf.format(lveDateFor ) + "]]>").append("</lve_date_fr>");
xmlString.append("<lve_date_to>").append("<![CDATA[" +simpledf.format( lveDateTo) + "]]>").append("</lve_date_to>");
xmlString.append("<lve_code>").append("<![CDATA[" + lveCode + "]]>").append("</lve_code>");
xmlString.append("<aprv_date>").append("<![CDATA[" + aprvDate + "]]>").append("</aprv_date>");
xmlString.append("<lve_type>").append("<![CDATA[" + leaveType + "]]>").append("</lve_type>");
xmlString.append("<ench_amt>").append("<![CDATA[" + enchAmt + "]]>").append("</ench_amt>");
xmlString.append("<no_days>").append("<![CDATA[" + noDays + "]]>").append("</no_days>");
xmlString.append("<status>").append("<![CDATA[" + status + "]]>").append("</status>");
xmlString.append("<status_date>").append("<![CDATA[" + statusDate + "]]>").append("</status_date>");
xmlString.append("<status_date>").append("<![CDATA[" + simpledf.format(statusDate) + "]]>").append("</status_date>");
xmlString.append("<remarks>").append("<![CDATA[" + remarks + "]]>").append("</remarks>");
xmlString.append("<appl_date>").append("<![CDATA[" + applDate + "]]>").append("</appl_date>");
xmlString.append("<start_time>").append("<![CDATA[" + StartTime + "]]>").append("</start_time>");
xmlString.append("<end_time>").append("<![CDATA[" + EndTime + "]]>").append("</end_time>");
xmlString.append("<appl_date>").append("<![CDATA[" + simpledf.format(applDate) + "]]>").append("</appl_date>");
xmlString.append("<start_time>").append("<![CDATA[" + simpledf.format(StartTime ) + "]]>").append("</start_time>");
xmlString.append("<end_time>").append("<![CDATA[" + simpledf.format(EndTime) + "]]>").append("</end_time>");
xmlString.append("</Detail1>");
xmlString.append("</header0>\r\n");
xmlString.append("</DocumentRoot>\r\n");
......
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