public String deleteById(final Map<String, Object> parameter) {
    return new SQL() {
      {
        Class<?> clazz = (Class<?>) parameter.get(CLASS_KEY);
        DELETE_FROM(EntityUtil.getTableName(clazz));
        WHERE("id=#{" + PARA_KEY + '}');
      }
    }.toString();
  }
public String deleteById ( final Map < String , Object > parameter ) { return new SQL ( ) { { Class < ? > clazz = ( Class < ? > ) parameter . get ( CLASS_KEY ) ; DELETE_FROM ( EntityUtil . getTableName ( clazz ) ) ; WHERE ( "id=#{" + PARA_KEY + '}' ) ; } } . toString ( ) ; }
根据主键删除记录

@return