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 53bf0d85..f5500baa 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 @@ -69,7 +69,7 @@ and exists (select 1 from xm.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 #{limeStart} and #{limeEnd} + and res.ltime between #{ltimeStart} and #{ltimeEnd} and exists( select 1 from xm.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})