public static String deleteFromTable(Class<?> entityClass, String defaultTableName) {
        StringBuilder sql = new StringBuilder();
        sql.append("DELETE FROM ");
        sql.append(getDynamicTableName(entityClass, defaultTableName));
        sql.append(" ");
        return sql.toString();
    }
public static String deleteFromTable ( Class < ? > entityClass , String defaultTableName ) { StringBuilder sql = new StringBuilder ( ) ; sql . append ( "DELETE FROM " ) ; sql . append ( getDynamicTableName ( entityClass , defaultTableName ) ) ; sql . append ( " " ) ; return sql . toString ( ) ; }
delete tableName - 动态表名

@param entityClass
@param defaultTableName
@return