Commit 14e467dd authored by sghate's avatar sghate

shital: done changes on SiteStanPayTable.java

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@206891 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c6c3e3ae
......@@ -283,7 +283,7 @@ public class SiteStanPayTbl extends ValidatorEJB implements SiteStanPayTblLocal
pstmt.close();
pstmt = null;
}
if(count == 0)
if(count == 0 && !"E".equalsIgnoreCase(editFlag))
{
System.out.println("State_code is not valid");
//modified by Shital on 30/07/2019 [Start]
......@@ -413,7 +413,7 @@ public class SiteStanPayTbl extends ValidatorEJB implements SiteStanPayTblLocal
pstmt.close();
pstmt = null;
}
if(count > 0)
if(count > 0 && !"E".equalsIgnoreCase(editFlag))
{
System.out.println("Duplicate Entries");
//errString = getErrorString("stan_code","VMSTANDUPL",userId);
......
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