Commit b9081433 authored by ssalve's avatar ssalve

Sarita : Done changes by sarita to resolve SQLException while no item_code get...

Sarita : Done changes by sarita to resolve SQLException while no item_code get selected on 18/JAN/2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@178585 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9011b4fb
...@@ -288,6 +288,11 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde ...@@ -288,6 +288,11 @@ public class SorderAct extends ActionHandlerEJB implements SorderActLocal, Sorde
{ {
s = s.substring(0,s.length()-1); s = s.substring(0,s.length()-1);
} }
//Added by sarita on 18/JAN/2018
else
{
s = "''";
}
System.out.println("s :::::::::"+s); System.out.println("s :::::::::"+s);
sql = "select distinct(scheme_code),item_code from sch_pur_items where item_code in ("+s+")"; sql = "select distinct(scheme_code),item_code from sch_pur_items where item_code in ("+s+")";
......
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