Commit e23f0ef9 authored by prane's avatar prane

bug fix while issue tracker no:246,248,250

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184167 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d90ba686
...@@ -499,10 +499,10 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo ...@@ -499,10 +499,10 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
{ {
if(sundryType != null && sundryCode != null) if(sundryType != null && sundryCode != null)
{ {
sql1 = "select FN_RSUNDRY_NAME ('?','?','N') as sundry_name from retainer_contract"; sql1 = "select DDF_GET_SUNDRY_NAME (?, ?) as sundry_name from retainer_contract";
pstmt1 = conn.prepareStatement(sql1); pstmt1 = conn.prepareStatement(sql1);
pstmt1.setString(1, sundryType); pstmt1.setString(1, sundryCode);
pstmt1.setString(2, sundryCode); pstmt1.setString(2, sundryType);
rs1 = pstmt1.executeQuery(); rs1 = pstmt1.executeQuery();
if (rs1.next()) if (rs1.next())
{ {
...@@ -1580,7 +1580,7 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo ...@@ -1580,7 +1580,7 @@ public class RetainerContractReleasePrc extends ProcessEJB implements RetainerCo
//analCode = ""; //analCode = "";
//empCode = ""; //empCode = "";
System.out.println("[1]"+netAmt+"[2]"+netAmtBc+"[3]"+billAmt+"[4]"+totTax+"[5]"+totAmt+"[6]"+totTax+"[7]"+billAmt+"[8]"+tranId); System.out.println("[1]"+netAmt+"[2]"+netAmtBc+"[3]"+billAmt+"[4]"+totTax+"[5]"+totAmt+"[6]"+totTax+"[7]"+billAmt+"[8]"+tranId);
sql = "update misc_voucher set bill_amt = ? supp_bill_amt = ? where tran_id = ? "; sql = "update misc_voucher set bill_amt = ?, supp_bill_amt = ? where tran_id = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setDouble(1, billAmt); pstmt.setDouble(1, billAmt);
pstmt.setDouble(2, billAmt); pstmt.setDouble(2, billAmt);
......
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