Commit a0057759 authored by sshinde's avatar sshinde

Change Batch execution in auto backflush


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93604 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ba4b611e
...@@ -4979,15 +4979,15 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -4979,15 +4979,15 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
if(("E").equals(orderType)) if(("E").equals(orderType))
{ {
pstmtDspHdr.setNull(26,Types.CHAR); pstmtDspHdr.setNull(24,Types.CHAR);
}else }else
{ {
pstmtDspHdr.setString(26,orderType); pstmtDspHdr.setString(24,orderType);
} }
pstmtDspHdr.setString(27, stanCode); pstmtDspHdr.setString(25, stanCode);
pstmtDspHdr.setString(28,tranCode); pstmtDspHdr.setString(26,tranCode);
pstmtDspHdr.setString(29, transMode); pstmtDspHdr.setString(27, transMode);
pstmtDspHdr.setString(30, stanCodeInit); pstmtDspHdr.setString(28, stanCodeInit);
...@@ -5411,10 +5411,10 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -5411,10 +5411,10 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
rs.close(); rs.close();
rs=null; rs=null;
pstmtDspHdr.setDouble(31, amtHdrDesp ); pstmtDspHdr.setDouble(29, amtHdrDesp );
pstmtDspHdr.setDouble(32, hGrWgh ); pstmtDspHdr.setDouble(30, hGrWgh );
pstmtDspHdr.setDouble(33, hTareWgh ); pstmtDspHdr.setDouble(31, hTareWgh );
pstmtDspHdr.setDouble(34, hNetWgh ); pstmtDspHdr.setDouble(32, hNetWgh );
pstmtDspHdr.addBatch(); pstmtDspHdr.addBatch();
pstmtDspHdr.clearParameters(); pstmtDspHdr.clearParameters();
......
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