Commit 2c165c73 authored by msingh's avatar msingh

Changed in PalletizationIC.java


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99305 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b9428ee7
......@@ -851,17 +851,23 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca
+ "where loc_code = ? and pallet_no = ? "
+ "and site_code = ? and add_user = ? and case when confirmed is null then 'N' else confirmed end = 'N' ";*/
//Changed by Sneha on 06-11-2015, Request ID: W15FSUN008
sql = "select tran_id, tran_date, site_code, tran_type, pallet_type, pallet_no, remarks, "
/*sql = "select tran_id, tran_date, site_code, tran_type, pallet_type, pallet_no, remarks, "
+ "chg_user, chg_date, chg_term from pallet_hdr "
+ "where pallet_no = ? "
+ "and site_code = ? and add_user = ? and case when confirmed is null then 'N' else confirmed end = 'N' ";
*/
sql = "select tran_id, tran_date, site_code, tran_type, pallet_type, pallet_no, remarks, "
+ "chg_user, chg_date, chg_term from pallet_hdr "
+ "where pallet_no = ? "
+ "and site_code = ? and case when confirmed is null then 'N' else confirmed end = 'N' ";
//End by Sneha on 06-11-2015, Request ID: W15FSUN008
pstmt = conn.prepareStatement(sql);
//pstmt.setString(1, locationCode);
//pstmt.setString(2, palletNoSource);
pstmt.setString(1, palletNo);
pstmt.setString(2, loginSite);
pstmt.setString(3, chgUser);
//pstmt.setString(3, chgUser);
rs = pstmt.executeQuery();
if(rs.next())
{
......
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