qirong
2023-07-05 21ff1b4f2ef67975eef303bff66ef60388243cf1
src/main/resources/mapper/ExamPaperAnswerMapper.xml
@@ -271,5 +271,16 @@
    FROM t_exam_paper_answer
    where id = #{id}
  </select>
  <select id="selectByPaperName" resultMap="BaseResultMap" parameterType="java.lang.String">
    SELECT
    <include refid="Base_Column_List"/>
    FROM t_exam_paper_answer
    <where>
        <if test="paperName != null and paperName != ''">
          paper_name = #{paperName}
        </if>
    </where>
  </select>
</mapper>