Commit 52e16e3d authored by arawankar's avatar arawankar

MiscValConf.java

-Changes made to resolve in out parameter index issue.
-line no set on wrong index number

PayIbcaConf.java
-Change tran_ser previously it was 7 char ,now it is corrected to 6 char(P-IBC+COUNT)


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195697 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0cb6b1dc
...@@ -886,8 +886,10 @@ conn = getConnection(); ...@@ -886,8 +886,10 @@ conn = getConnection();
pstmtInner.close(); pstmtInner.close();
pstmtInner = null; pstmtInner = null;
} }
//Modified by Anjali R. on [11/01/2019][In case of misc_vouchdet has no record then system should insert record in misc_vouchdet table][Start]
if(cnt > 0) //if(cnt > 0)
if(cnt == 0)
//Modified by Anjali R. on [11/01/2019][In case of misc_vouchdet has no record then system should insert record in misc_vouchdet table][End]
{ {
lineInt = lineInt +1; lineInt = lineInt +1;
...@@ -909,7 +911,10 @@ conn = getConnection(); ...@@ -909,7 +911,10 @@ conn = getConnection();
pstmtInner.setString(2,tranId); pstmtInner.setString(2,tranId);
pstmtInner.setString(3,acctCodeReco); pstmtInner.setString(3,acctCodeReco);
pstmtInner.setString(4,cctrCodeReco); pstmtInner.setString(4,cctrCodeReco);
pstmtInner.setInt(3,lineNoDet); //Modified by Anjali R. on [11/01/2019][Parameter set on wrong index number][Start]
//pstmtInner.setInt(3,lineNoDet);
pstmtInner.setInt(5,lineNoDet);
//Modified by Anjali R. on [11/01/2019][Parameter set on wrong index number][End]
int updCnt = pstmtInner.executeUpdate(); int updCnt = pstmtInner.executeUpdate();
pstmtInner.close(); pstmtInner.close();
pstmtInner = null; pstmtInner = null;
......
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