Commit 39bd406e authored by pshinde's avatar pshinde

process of Customer Item Update


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97699 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4c1f509a
...@@ -191,21 +191,8 @@ public String process(Document headerDom, Document detailDom, String windowName, ...@@ -191,21 +191,8 @@ public String process(Document headerDom, Document detailDom, String windowName,
pstmt1.close(); pstmt1.close();
pstmt1 = null; pstmt1 = null;
sql="select min(case when integral_qty is null then 0 else integral_qty end) as min_qty from customeritem where item_code = ?";
pstmt1=conn.prepareStatement(sql);
pstmt1.setString(1,itemCode);
rs1=pstmt1.executeQuery();
if(rs1.next())
{
minQty=rs1.getDouble("min_qty");
}
pstmt1.close();
rs1.close();
pstmt1 = null;
rs1 = null;
System.out.println("After update======"+minQty);
} }
pstmt.close(); pstmt.close();
rs.close(); rs.close();
......
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