Commit 57b39d16 authored by smestry's avatar smestry

W15FSUN008, Updated class file Palletization.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99155 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 98026655
......@@ -24,6 +24,7 @@ import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import org.w3c.dom.*;
......@@ -326,10 +327,12 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf
CommonWmsUtil commonWmsUtility = CommonWmsUtil.getInstance();
GenericUtility genericUtility = GenericUtility.getInstance();
Calendar currentDate = Calendar.getInstance();
/*Calendar currentDate = Calendar.getInstance();
SimpleDateFormat simpleDateFormatObj = new SimpleDateFormat(genericUtility.getApplDateFormat());
tranDate = simpleDateFormatObj.format(currentDate.getTime());
System.out.println("tranDate ::::::::::::: " + tranDate);
System.out.println("tranDate ::::::::::::: " + tranDate);*/
Date today = new Timestamp(System.currentTimeMillis());
sql = "update pallet_hdr set confirmed = ?, conf_date = ? where tran_id = ? ";
pstmt = conn1.prepareStatement(sql);
......@@ -516,7 +519,10 @@ public class PalletizationConf extends ValidatorEJB implements PalletizationConf
hm.put("IN_OUT", "I");
hm.put("REF_SER", "PZ");
hm.put("REF_ID", tranId);
hm.put("TRAN_DATE", checkNullAndTrim(String.valueOf(rs.getTimestamp("TRAN_DATE"))));
//hm.put("TRAN_DATE", checkNullAndTrim(String.valueOf(rs.getTimestamp("TRAN_DATE"))));
// Changed by Sneha on 17-11-2015
hm.put("TRAN_DATE", checkNullAndTrim(String.valueOf(today)));
//End by Sneha
hm.put("LOT_NO", rs.getString("lot_no"));
hm.put("LOT_SL", rs.getString("lot_sl"));
hm.put("QUANTITY", checkNullAndTrim((String.valueOf(noArt))));
......
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