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 9851e849..28aafd80 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
@@ -19,8 +19,6 @@
and exists (select 1 from xm_question_handle h where h.question_id = res.id and h.handler_userid=#{hisHandlerUserid} and handle_status=#{hisHandleStatus})
and res.create_time between #{createTimeStart} and #{createTimeEnd}
and res.ltime between #{ltimeStart} and #{ltimeEnd}
-
- and exists( select 1 from xm_menu m where m.menu_id=res.menu_id and m.product_id=#{productId})
and ( res.create_userid=#{myUserid} or res.handler_userid=#{myUserid})
and
res.menu_id in
@@ -29,7 +27,7 @@
- and exists ( select 1 from xm_project_group_user gu where gu.userid=#{compete} and gu.project_id=res.project_id )
+ and exists ( select 1 from xm_project_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 != 'resolved'