|
@@ -235,8 +235,11 @@ public class TFlowTemplateService {
|
|
|
paramVo.setiFilterRight(iFilterRight);
|
|
|
if (iFilterRight) {
|
|
|
CommonResult<FlowPermissionRespDTO> result = permissionApi.getFlowPermission(Constant.getUserId());
|
|
|
- if(result.getCheckedData().getFlowIds() != null){
|
|
|
- rightList =result.getCheckedData().getFlowIds();
|
|
|
+ FlowPermissionRespDTO resp = result.getCheckedData();
|
|
|
+ if(resp.getAll()){
|
|
|
+ paramVo.setiFilterRight(false);
|
|
|
+ } else if(resp.getFlowIds() != null){
|
|
|
+ rightList = resp.getFlowIds();
|
|
|
}
|
|
|
|
|
|
}
|