Commit 530b4c78 authored by prahate's avatar prahate

Changes done for post save of pcontract.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@186949 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 612d752c
......@@ -37,7 +37,7 @@ public class PContractPostSave extends ValidatorEJB implements PContractPostSave
Document dom = null;
PreparedStatement pstmt = null;
ResultSet resultSet = null;
System.out.println("xmlStringAll :: "+xmlStringAll);
//System.out.println("xmlStringAll :: "+xmlStringAll);
System.out.println(" Tran id = "+tranId);
dom = genericUtility.parseString(xmlStringAll);
tranId = genericUtility.getColumnValue("contract_no", dom);
......@@ -59,7 +59,7 @@ public class PContractPostSave extends ValidatorEJB implements PContractPostSave
resultSet.close(); resultSet = null;
pstmt.close(); pstmt = null;
String updateValue = "UPDATE PCONTRACT_HDR set CONTRACT_AMT = ? where CONTRACT_NO = ?";
String updateValue = "UPDATE PCONTRACT_HDR SET CONTRACT_AMT = ? WHERE CONTRACT_NO = ?";
pstmt = conn.prepareStatement(updateValue);
pstmt.setString(1, maxValue);
pstmt.setString(2, tranId);
......
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