Commit b2d165ad authored by dsawant's avatar dsawant

date changes


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95205 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fbe4de03
...@@ -357,6 +357,7 @@ public class WorderCampaign extends ProcessEJB implements WorderCampaignLocal, W ...@@ -357,6 +357,7 @@ public class WorderCampaign extends ProcessEJB implements WorderCampaignLocal, W
sdf=new SimpleDateFormat(genutility.getApplDateFormat()); sdf=new SimpleDateFormat(genutility.getApplDateFormat());
currDate = new java.sql.Timestamp(System.currentTimeMillis()) ; currDate = new java.sql.Timestamp(System.currentTimeMillis()) ;
currAppdate = sdf.format(currDate); currAppdate = sdf.format(currDate);
currAppdate = genericUtility.getValidDateString( currAppdate, genericUtility.getApplDateFormat(), genericUtility.getDBDateFormat() );
sysDate = java.sql.Timestamp.valueOf( currAppdate + " 00:00:00.0" ); sysDate = java.sql.Timestamp.valueOf( currAppdate + " 00:00:00.0" );
/*loginCode=GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams,"loginCode"); /*loginCode=GenericUtility.getInstance().getValueFromXTRA_PARAMS(xtraParams,"loginCode");
loginCode=loginCode==null ? "" :loginCode.trim();*/ loginCode=loginCode==null ? "" :loginCode.trim();*/
...@@ -430,7 +431,7 @@ public class WorderCampaign extends ProcessEJB implements WorderCampaignLocal, W ...@@ -430,7 +431,7 @@ public class WorderCampaign extends ProcessEJB implements WorderCampaignLocal, W
{ {
conn.commit(); conn.commit();
System.out.println(">>>>>process completed>>>>VV"); System.out.println(">>>>>process completed>>>>VV>>>>");
errCode = "VTWOCPRCGN"; // generated successfully errCode = "VTWOCPRCGN"; // generated successfully
retString = itmDBAccessEJB.getErrorString("", errCode, "", "", conn); retString = itmDBAccessEJB.getErrorString("", errCode, "", "", conn);
} }
......
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