Commit 6085ae30 authored by manohar's avatar manohar

lot_sl for partial like 1.2, 12.5, etc parsing to long exception removed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92935 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4da8e0ea
...@@ -589,6 +589,10 @@ public class InvPackAct extends ActionHandlerEJB implements InvPackActLocal, Inv ...@@ -589,6 +589,10 @@ public class InvPackAct extends ActionHandlerEJB implements InvPackActLocal, Inv
{ {
maxLotSl = "0"; maxLotSl = "0";
} }
if (maxLotSl.indexOf("."))
{
maxLotSl = maxLotSl.substring(0,maxLotSl.indexOf(".")) ;
}
lotSl = maxLotSl; lotSl = maxLotSl;
System.out.println("maxLotSl --:"+maxLotSl); System.out.println("maxLotSl --:"+maxLotSl);
isCheckNum = checkIsNumber(packInst); isCheckNum = checkIsNumber(packInst);
......
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