activiti 报错信息

1. singleResult返回多条数据报错


Deployment d = repositoryService.createDeploymentQuery().deploymentTenantId("1").singleResult();

singleResult如果返回2条数据,则会报错!

org.activiti.engine.ActivitiException: Query return 2 results instead of max 1

猜你喜欢

转载自blog.csdn.net/kq1983/article/details/89211148