Commit 639ef585 authored by smestry's avatar smestry

W15FSUN008, Updated class file for Palletization for checking schedule status...

W15FSUN008, Updated class file for Palletization  for checking schedule status in swms_to_awms table.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99264 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 15e36a57
...@@ -703,10 +703,11 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca ...@@ -703,10 +703,11 @@ public class PalletizationIC extends ValidatorEJB implements PalletizationICLoca
int count = 0; int count = 0;
try try
{ {
sql ="select count(*) from swms_to_awms where pallet_no = ? and schedule_status is null and ref_ser = ? "; sql ="select count(*) from swms_to_awms where pallet_no = ? and schedule_status = ? and ref_ser = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, palletNo); pstmt.setString(1, palletNo);
pstmt.setString(2, "PZ"); pstmt.setString(2, "N");
pstmt.setString(3, "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