Commit 77ba9b7f authored by rbhogale's avatar rbhogale

Changed by Rohan on 05-03-13 for changing qty to double


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92801 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 66ec6976
...@@ -95,7 +95,9 @@ public class ReplOrderIC extends ValidatorEJB implements ReplOrderICLocal,ReplOr ...@@ -95,7 +95,9 @@ public class ReplOrderIC extends ValidatorEJB implements ReplOrderICLocal,ReplOr
String lotSl = ""; String lotSl = "";
String sql = ""; String sql = "";
String qtyStr = ""; String qtyStr = "";
int currentFormNo = 0; int currentFormNo = 0;
//Changed by Rohan on 05-03-12 to get quantity in double
double qty = 0.0;
ConnDriver connDriver = null; ConnDriver connDriver = null;
try try
...@@ -352,7 +354,9 @@ public class ReplOrderIC extends ValidatorEJB implements ReplOrderICLocal,ReplOr ...@@ -352,7 +354,9 @@ public class ReplOrderIC extends ValidatorEJB implements ReplOrderICLocal,ReplOr
} }
else else
{ {
int qty = Integer.parseInt(qtyStr); //Changed by Rohan on 05-03-12 to get quantity in double
//int qty = Integer.parseInt(qtyStr);
qty = Double.parseDouble(qtyStr);
lotSl = genericUtility.getColumnValue("lot_sl", dom); lotSl = genericUtility.getColumnValue("lot_sl", dom);
lotNo = genericUtility.getColumnValue("lot_no", dom); lotNo = genericUtility.getColumnValue("lot_no", dom);
locCode = genericUtility.getColumnValue("loc_code", dom); locCode = genericUtility.getColumnValue("loc_code", dom);
...@@ -366,7 +370,9 @@ public class ReplOrderIC extends ValidatorEJB implements ReplOrderICLocal,ReplOr ...@@ -366,7 +370,9 @@ public class ReplOrderIC extends ValidatorEJB implements ReplOrderICLocal,ReplOr
pstmt.setString(3, locCode); pstmt.setString(3, locCode);
pstmt.setString(4, lotNo); pstmt.setString(4, lotNo);
pstmt.setString(5, lotSl); pstmt.setString(5, lotSl);
pstmt.setInt(6, qty); //Changed by Rohan on 05-03-12 to get quantity in double
//pstmt.setInt(6, qty);
pstmt.setDouble(6, qty);
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