Replace QuatationAmedmentIC.java Done Some Changes

parent 55471e93
...@@ -74,14 +74,11 @@ public class QuatationAmedmentIC extends ValidatorEJB{ ...@@ -74,14 +74,11 @@ public class QuatationAmedmentIC extends ValidatorEJB{
quoDate=rs.getTimestamp("add_date"); quoDate=rs.getTimestamp("add_date");
exchRate = rs.getDouble("exch_rate"); exchRate = rs.getDouble("exch_rate");
siteCode = rs.getString("site_code"); siteCode = rs.getString("site_code");
} }
rs.close(); rs.close();
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
setItem(dom, 1, "hosp_code", hospCode); setItem(dom, 1, "hosp_code", hospCode);
setItem(dom, 1, "hosp_name", hospName); setItem(dom, 1, "hosp_name", hospName);
setItem(dom, 1, "cust_code", custCode); setItem(dom, 1, "cust_code", custCode);
...@@ -135,7 +132,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{ ...@@ -135,7 +132,7 @@ public class QuatationAmedmentIC extends ValidatorEJB{
String quotNo1 = whenNull(getItemString(dom1, 1, "quot_no")); String quotNo1 = whenNull(getItemString(dom1, 1, "quot_no"));
sql=" select quot_no , item_code , descr , unit, " + sql=" select quot_no , item_code , descr , unit, " +
" quantity , rate , rate_new , old_rate," + " quantity , rate , rate_new , old_rate " +
" from sales_quotdet " + " from sales_quotdet " +
" where quot_no = ? and line_no = ?"; " where quot_no = ? and line_no = ?";
pstmt=conn.prepareStatement(sql); pstmt=conn.prepareStatement(sql);
......
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