totalSql=$"SELECT COUNT(*) FROM `{entity.DataValue}` {whereSql}";
dataSql=$"SELECT * FROM `{entity.DataValue}` {whereSql}{(!string.IsNullOrWhiteSpace(orderbySql)?$"ORDER BY {orderbySql}":string.Empty)} LIMIT {offset} , {fetch}";
break;
default:
totalSql=$"SELECT COUNT(*) FROM ( {entity.DataValue} ) AS A {whereSql}";
dataSql=$"SELECT * FROM ( {entity.DataValue} ) AS A {whereSql}{(!string.IsNullOrWhiteSpace(orderbySql)?$"ORDER BY {orderbySql}":string.Empty)} LIMIT {offset} , {fetch}";