From 105478f0a670a5e881dfeeef219d1a43fb0f8eeb Mon Sep 17 00:00:00 2001 From: flower Date: Mon, 28 Jan 2019 23:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E9=A2=98=E6=9F=A5=E8=AF=A2=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=E5=8C=B9=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/exam/ExamQuestionMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionMapper.xml b/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionMapper.xml index 724b26041..7943f9e41 100644 --- a/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionMapper.xml +++ b/ruoyi-exam/src/main/resources/mapper/exam/ExamQuestionMapper.xml @@ -78,7 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" select id, title, answer, type, label, category_id, create_by, create_date, update_by, update_date, remarks, del_flag from exam_question and id = #{id} - and title = #{title} + and title like CONCAT('%',#{title},'%') and answer = #{answer} and type = #{type} and label = #{label}