Commit ce772c86 authored by pchavan's avatar pchavan
parent 60a2960a
......@@ -233,7 +233,7 @@ conn = getConnection();
{
guid =this.genericUtility.getColumnValue("guid", dom);
System.out.println("GUID number : " +guid);
if (guid != null || guid.trim().length() >= 0)
if (guid != null && guid.trim().length() > 0)
{
System.out.println("GUID : " +guid);
sql = "select count(*) from receipt where guid = ?";
......
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