//string Sql = $"select * from ( select rownum myrn ,PURPriceDealMidTab.* from PURPriceDealMidTab where plant='W21' order by di_batchNO,mtlNO ) tt where tt.myrn >={StartRow + 1} and tt.myrn <={StartRow + snycCount} order by myrn ";
stringSql="";
if(site=="W21")
{
Sql=$"select* from PURPriceDealMidTab";
Sql+=$" Where di_batchNO>{rownum} and plant='W21'";
}
else
{
Sql=$"select* from PURPriceDealMidTabFW";
Sql+=$" Where di_batchNO>{rownum} and plant='U32'";