Commit 57cead59 authored by pchavan's avatar pchavan

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184025 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7af1e20c
......@@ -2891,8 +2891,14 @@ public class PostOrderActivity {
String keyString = "";
String keyCol = "";
String xmlValues = "";
java.sql.Timestamp currDate = null; //Added By PriyankaC on 24April2018.
try
{
//Added By PriyankaC on 24April2018.[START]
SimpleDateFormat sdfAppl = new SimpleDateFormat(genericUtility.getApplDateFormat());
currDate = new java.sql.Timestamp(System.currentTimeMillis());
String currDateStr = sdfAppl.format(currDate);
// //Added By PriyankaC on 24April2018.[end]
selSql = "SELECT KEY_STRING, TRAN_ID_COL, REF_SER FROM TRANSETUP WHERE TRAN_WINDOW = ? ";
pstmt = conn.prepareStatement(selSql);
pstmt.setString( 1, windowName );
......@@ -2917,6 +2923,7 @@ public class PostOrderActivity {
//Changed By PriyankaC on 19April2018 [START]
xmlValues = xmlValues +"<site_code>" + siteCode + "</site_code>";
xmlValues = xmlValues + "<drcr_flag>" + tranType + "</drcr_flag>";
xmlValues = xmlValues + "<tran_date>" + currDateStr + "</tran_date>";
//Changed By PriyankaC on 19April2018 [END]
xmlValues = xmlValues + "</Detail1></Root>";
System.out.println("xmlValues :["+xmlValues+"]");
......
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