Commit b4a622eb authored by pshetty's avatar pshetty

cctr_code field was contaning space as value but when adding the value in db...

 cctr_code field was contaning space as value but when adding the value in db due to trim() the data was setting blank

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@217307 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 907905e1
......@@ -1482,7 +1482,10 @@ public class GenVal
//QueryBuf.replace( index, index + 1, "'" + colValue.trim() + "'" );
if( colValue != null )
{
QueryBuf.replace( index, index + 1, "'" + colValue.trim() + "'" );
//Changes made by Pratheek on 28-02-2020[ cctr_code field was contaning space as value but when adding the value in db due to trim() the data was setting blank]-Start
/*QueryBuf.replace( index, index + 1, "'" + colValue.trim() + "'" );*/
QueryBuf.replace( index, index + 1, "'" + colValue + "'" );
//Changes made by Pratheek on 28-02-2020[ cctr_code field was contaning space as value but when adding the value in db due to trim() the data was setting blank]-End
}
else
{
......
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