Commit 4c572791 authored by cpatil's avatar cpatil

*** empty log message ***


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99919 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ea391b8f
......@@ -395,6 +395,7 @@ public class PrdApplCountrySerIC extends ValidatorEJB implements PrdApplCountryS
String addDate="", addUser="", addTerm="", chgUser="", chgTerm="";
String countyCode="",countryDescr="";
Timestamp addDate2=null;
try
{
Calendar currentDate = Calendar.getInstance();
......@@ -522,7 +523,7 @@ public class PrdApplCountrySerIC extends ValidatorEJB implements PrdApplCountryS
if (rs.next())
{
//addDate = checkNull(rs.getTimestamp("add_date"));
addDate = checkNull(rs.getString("add_date"));
addDate = rs.getString("add_date");
addUser = checkNull(rs.getString("add_user"));
addTerm = checkNull(rs.getString("add_term"));
}
......@@ -561,8 +562,9 @@ public class PrdApplCountrySerIC extends ValidatorEJB implements PrdApplCountryS
pstmt.close();
pstmt = null;
addDate = genericUtility.getValidDateString(addDate,genericUtility.getDBDateFormat(), genericUtility.getApplDateFormat()) ;
System.out.println("@@@@@@@@@@@ refCode["+refCode+"]");
System.out.println("@@@@@@@@@@@addDate["+addDate+"]refCode["+refCode+"]");
valueXmlString.append("<Detail1 domID='1' objContext='1'>");
valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\" />\r\n");
......@@ -575,7 +577,7 @@ public class PrdApplCountrySerIC extends ValidatorEJB implements PrdApplCountryS
valueXmlString.append("<add_user>").append("<![CDATA[" + addUser + "]]>").append("</add_user>\r\n");
valueXmlString.append("<add_term>").append("<![CDATA[" + addTerm + "]]>").append("</add_term>\r\n");
valueXmlString.append("<chg_date>").append("<![CDATA[" + sysDate + "]]>").append("</chg_date>\r\n");
valueXmlString.append("<chg_user>").append("<![CDATA[" + chgUser + "]]>").append("</chg_user>\r\n");
valueXmlString.append("<chg_user>").append("<![CDATA[" + loginEmpCode + "]]>").append("</chg_user>\r\n");
valueXmlString.append("<chg_term>").append("<![CDATA[" + termId + "]]>").append("</chg_term>\r\n");
valueXmlString.append("<ref_code protect = \"1\">").append("<![CDATA[" + refCode + "]]>").append("</ref_code>\r\n");
valueXmlString.append("<prd_tblno>").append("<![CDATA[" + refCode + "]]>").append("</prd_tblno>\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