Commit 2819d942 authored by smane's avatar smane

Changes code for update PORCPDET table


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96649 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 778bef02
......@@ -3671,7 +3671,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
pstmtUpd.setTimestamp(8, today);
pstmtUpd.setTimestamp(9, mfgDate);
updCnt = pstmtUpd.executeUpdate();
if ( updCnt != 1 )
//if ( updCnt != 1 )
if(updCnt == 0)// Condition Added by Sagar on 20/OCT/14
{
retString = itmDBAccessLocal.getErrorString("","DS000NR","");//Added by chandrashekar on 17-sep-2014
}
......@@ -3694,7 +3695,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
pstmtUpd.setTimestamp(8, today);
pstmtUpd.setTimestamp(9, mfgDate);
updCnt = pstmtUpd.executeUpdate();
if ( updCnt != 1 )
//if ( updCnt != 1 )
if(updCnt == 0)// Condition Added by Sagar on 20/OCT/14
{
retString = itmDBAccessLocal.getErrorString("","DS000NR","");//Added by chandrashekar on 17-sep-2014
}
......@@ -4010,7 +4012,8 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
pstmtUpd.setString(4, batchNo);
pstmtUpd.setString(5, locCode);
updCnt = pstmtUpd.executeUpdate();
if ( updCnt != 1 )
//if ( updCnt != 1 )
if(updCnt == 0)// Condition Added by Sagar on 20/OCT/14
{
retString = itmDBAccessLocal.getErrorString("","DS000NR","");//Added by chandrashekar on 17-sep-2014
}
......
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