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