Commit 4a966fbc authored by pchavan's avatar pchavan

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196420 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a27269ce
......@@ -235,10 +235,16 @@ conn = getConnection();
System.out.println("GUID number : " +guid);
if (guid != null && guid.trim().length() > 0)
{
if(tranId == null ||tranId.trim().length() == 0 )
{
tranId = "@@";
}
System.out.println("GUID : " +guid);
sql = "select count(*) from receipt where guid = ?";
sql = "select count(*) from receipt where guid = ? and tran_id <> ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, guid);
pstmt.setString(2, tranId);
rs = pstmt.executeQuery();
if (rs.next())
{
......
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