### 获取关联ebuidler表单自定义浏览框配置信息

##### 引入 weaver-ebuilder-form-client jar

```xml
<dependency>
    <groupId>com.weaver</groupId>
    <artifactId>weaver-ebuilder-form-client</artifactId>
</dependency>
```

本地注入

```java

@Autowired
private CustomBrowserService customBrowserService;
```

rpc

```java
@RpcReference
private CustomBrowserDubboService customRemoteBrowserService
```

#### 请求接口：

- List packageEBCustomBrowserForObjId(Long objId, String tenantKey)；

##### ([为后续项目使用中切换应用独立部署的需要，二开逻辑请使用独立部署方式调用](https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/doc/81831572-da60-474d-9328-2309af780fb9))

```java
// 基线版本:10.0.2410.01(含), 版本后必须使用该方式操作 - (为后续项目使用中切换应用独立部署的需要)
// 如 调用RemoteSimpleDataService#saveFormData方法需要按以下方式调整

@Autowired
private PublishKitRuntimeUtil publishKitRuntimeUtil;

RemoteSimpleDataService remoteSimpleDataService = publishKitRuntimeUtil.buildRpcService(com.weaver.ebuilder.form.client.service.data.RemoteSimpleDataService.class, "ebuilderform", appId);
remoteSimpleDataService.saveFormData(ebDataChangeReqDto);

/******************************************************************************************************************/

// 基线版本:10.0.2410.01之前版本可使用:
@RpcReference(group = "ebuilderform")
private com.weaver.ebuilder.form.client.service.data.RemoteSimpleDataService remoteSimpleDataService;

remoteSimpleDataService.saveFormData(ebDataChangeReqDto);
```

#### 请求参数：

| 参数名 | 必选 | 参数类型 | 参数说明 |
| --- | --- | --- | --- |
| objId | 是 | Long | 表单id |
| tenantKey | 是 | String | 租户key |

#### 返回值：

| 类型 | 类型所属包路径 | 描述 |
| --- | --- | --- |
| List\<CustomBrowserEntity\> | com.weaver.ebuilder.form.client.entity.browser.CustomBrowserEntity |  |

#### 返回示例：

```json
{
    "code": 200,
    "msg": "接口返回成功",
    "status": true,
    "data": [
        {
            "objId": "798124710429949952",
            "primaryKey": "id",
            "displayColumns": [
                "id",
                "name"
            ],
            "moduleField": {
                "objId": "798124710429949952",
                "fieldId": "808384755745808384",
                "fieldType": "RelateBrowser",
                "fieldName": "关联浏览",
                "multiSelect": true,
                "number": 15,
                "id": "808384755745808384",
                "objShowName": "测试mobile代码块表单",
                "componentKey": "RelateBrowser",
                "configString": "",
                "dataKey": "glll_7jxe",
                "richEditor": false,
                "mainField": false,
                "mainPrimaryKey": false,
                "otherPropertiesStr": "{"formId":"798124710429949953","groupId":"-1","title":"关联浏览","browserType":{"module":"bcw","name":"测试mobile代码块表单","id":"808384665580765185","type":"customBrowser_csmdmk"},"dataCount":0,"dataKey":"glll_7jxe","displayType":"space","isDefault":false,"isSingle":false,"name":"关联浏览","showOrder":13.0,"describe":"","placeholder":"","componentKey":"RelateBrowser","fieldId":"808384755745808384"}",
                "otherProperties": {
                    "formId": "798124710429949953",
                    "groupId": "-1",
                    "title": "关联浏览",
                    "browserType": {
                        "module": "bcw",
                        "name": "测试mobile代码块表单",
                        "id": "808384665580765185",
                        "type": "customBrowser_csmdmk"
                    },
                    "dataCount": 0,
                    "dataKey": "glll_7jxe",
                    "displayType": "space",
                    "isDefault": false,
                    "isSingle": false,
                    "name": "关联浏览",
                    "showOrder": 13.0,
                    "describe": "",
                    "placeholder": "",
                    "componentKey": "RelateBrowser",
                    "fieldId": "808384755745808384"
                }
            },
            "titleField": "id"
        }
    ]
}
```

#### 返回主要属性说明

| 参数名 | 参数类型 | 参数说明 |
| --- | --- | --- |
| objId | String | 自定义浏览框关联表单id |
| primaryKey | String | 自定义浏览框勾选主键 |
| TitleField | String | 自定义浏览框勾选标题字段 |
| displayColums | List\<String\> | 自定义浏览框勾选显示列 |
| moduleField | ModuleField | 引用自定义浏览框表单字段字段信息 |
