From 62bb6bcc8d099ab6a51ca79b8f160c3883ee3ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Sat, 9 Jul 2022 00:27:07 +0800 Subject: [PATCH] bug --- .../resources/mybatis/mapper/xm/core/dao/XmQuestionMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmQuestionMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmQuestionMapper.xml index 6c7c969d..17f5c985 100644 --- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmQuestionMapper.xml +++ b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmQuestionMapper.xml @@ -27,7 +27,7 @@ - and exists ( select 1 from xm_group_user gu where gu.userid=#{compete} and (gu.project_id=res.project_id or gu.product_id=res.product_id)) + and (res.handler_userid=#{compete} or res.create_userid=#{compete} or exists ( select 1 from xm_group_user gu where gu.userid=#{compete} and (gu.project_id=res.project_id or gu.product_id=res.product_id))) and res.name like #{key} and res.status in ('1','2','3','4','7')