From 3a9bf216b6f6bf1f78560f116da115b0cc763495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Wed, 2 Mar 2022 07:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8A=82=E7=82=B9=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E3=80=81=E6=A0=87=E7=AD=BE=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mybatis/mapper/xm/core/dao/XmQuestionMapper.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'