code: public static void setKeyProperties(Set<EntityColumn> pkColumns, MappedStatement ms) {
          if (pkColumns == null || pkColumns.isEmpty()) {
              return;
          }
  
          List<String> keyProperties = new ArrayList<String>(pkColumns.size());
          for (EntityColumn column : pkColumns) {
              keyProperties.add(column.getProperty());
          }
  
          MetaObjectUtil.forObject(ms).setValue("keyProperties", keyProperties.toArray(new String[]{}));
      }
docs: 通过反射设置MappedStatement的keyProperties字段值
  
  @param pkColumns 所有的主键字段
  @param ms        MappedStatement