src/main/resources/mapper/QuestionMapper.xml
@@ -192,10 +192,11 @@ and q.grade_level= #{level} </if> <if test="subjectId != null "> and qs.subject_id = and qs.subject_id in <foreach item="subjectId" collection="subjectId" open="(" separator="," close=")"> #{subjectId} </foreach> </if> <if test="questionType != null "> and q.question_type= #{questionType} @@ -233,4 +234,8 @@ GROUP BY create_time </select> <select id="getAll" resultMap="BaseResultMap"> SELECT <include refid="Base_Column_List"/> from t_question where deleted=0 </select> </mapper>