//string Sql = $"select * from ( select rownum myrn ,PURVendorMid.* from PURVendorMid order by di_batchNO,VENDORNO ) tt where tt.myrn >={StartRow + 1} and tt.myrn <={StartRow + snycCount} order by myrn ";
//string Sql = $"Select * from PURVendorMid";
//Sql += $" where DI_BATCHNO >101";
stringSql="";
if(site=="W21")
{
Sql=$"select* from PURVendorMid";
Sql+=$" Where PURORG='W21' and di_batchNO>{di_vend}";
}
else
{
Sql=$"select* from PURVendorMidFW";
Sql+=$" Where PURORG='U32' and di_batchNO>{di_vend}";