Commit 924b9f93 authored by agaikwad's avatar agaikwad

Request id-D15ISUN003


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101046 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 27f5bd5c
...@@ -2053,17 +2053,18 @@ insert into obj_itemchange(obj_name,form_no,field_name)values('porderamd ...@@ -2053,17 +2053,18 @@ insert into obj_itemchange(obj_name,form_no,field_name)values('porderamd
if (rsmax.next()) if (rsmax.next())
{ {
lineNoPOterm = rsmax.getString(1); lineNoPOterm = rsmax.getString(1);
System.out.println("@@@@@@lineNoPO4[" + lineNoPO1 + "]"); System.out.println("@@@@@@lineNoPO4[" + lineNoPOterm + "]");
} }
rsmax.close(); rsmax.close();
rsmax = null; rsmax = null;
pstmtmax.close(); pstmtmax.close();
pstmtmax = null; pstmtmax = null;
if (lineNoPO1 == null) if (lineNoPOterm == null)
{ {
lineNoPOterm = "0"; lineNoPOterm = "0";
} }
int tempId = (Integer.parseInt(lineNoPO1.trim()) + 1); int tempId = (Integer.parseInt(lineNoPOterm.trim()) + 1);
System.out.println("TempID " +tempId);
lineNoPOterm = " " + tempId; lineNoPOterm = " " + tempId;
lineNoPOterm = lineNoPOterm.substring(lineNoPOterm.length() - 3, lineNoPOterm.length()); lineNoPOterm = lineNoPOterm.substring(lineNoPOterm.length() - 3, lineNoPOterm.length());
System.out.println("@@@@@@lineNoPO[" + lineNoPOterm + "]"); System.out.println("@@@@@@lineNoPO[" + lineNoPOterm + "]");
......
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