---
title: "获取公文流程流转意见，通过后台设置过滤节点意见（支持weaver-odoc-service hotfix1.14.0以上版本）"
publicId: "5074035a-33a8-4451-871f-edaf30dfe7b4"
source: "https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/doc/5074035a-33a8-4451-871f-edaf30dfe7b4"
---
**接口：**com.weaver.odoc.util.odocMould.OdocMouldUtil#getRequestLogApplySql

**描述：**

打印呈批表或者套用模板时，获取流程流转意见筛选sql，可按照自定义业务重写sql，获取符合业务的流程流转意见。

**参数：**

| 参数名 | 必选 | 类型 | 说明 |
| --- | --- | --- | --- |
| requestId | 是 | Long | 流程请求id |
| showWay | 是 | int | 0 最后一次意见  1 全部意见 |
| isNullOpinion | 是 | int | 1 不显示空意见 0 显示空意见 |
| employee | 是 | SimpleEmployee | 人员信息 |

**参数示例：**

```
{
	"requestId": 1004691746661269509,
	"showWay": 1,
	"isNullOpinion":0,
	"employee": SimpleEmployee{}
}
```

**返回示例：**

```
operatedatetime = (select max(t2.operatedatetime) as operatedatetime from wfc_requestlog t2 where t2.userid = wfc_requestlog.userid and t2.requestid = wfc_requestlog.requestid and t2.delete_type = 0 and t2.nodeid = wfc_requestlog.nodeid and t2.logtype not in (1) and t2.tenant_key = 'tq2uz86iuo')
```
