Commit 9b266e7a authored by wansari's avatar wansari

change by wasim 31/oct/15


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98953 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8e84e6f3
...@@ -160,10 +160,11 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca ...@@ -160,10 +160,11 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca
locStockList = getLocationCode(conn, loginSite); locStockList = getLocationCode(conn, loginSite);
palletList = getPalletNo(conn, loginSite); palletList = getPalletNo(conn, loginSite);
sql ="select count(*) from interface2 where pallet_no = ? and schedule_status is null "; sql ="select count(*) from interface2 where pallet_no = ? and schedule_status is null and ref_ser = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, palletNo); pstmt.setString(1, palletNo);
pstmt.setString(2, "y"); // pstmt.setString(2, "y"); Changed by Wasim
pstmt.setString(2, "PZ");
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
if(rs.next()) 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