qirong
2023-11-28 99b29966852e4f8e1dfb2e444db4f86ce786a3b1
src/main/resources/mapper/ExamPaperAnswerMapper.xml
@@ -344,5 +344,16 @@
      from t_exam_paper_answer where create_user = #{createUser} and create_time between '2023-01-01'and '2023-12-31'
    </select>
  <select id="getByExamPaperIds" resultMap="BaseResultMap" parameterType="list">
    select
    <include refid="Base_Column_List1" />
    from t_exam_paper_answer
    where exam_paper_id in
    <if test="ids !=null and ids.size() > 0">
      <foreach collection="examTemplatesUserCount" item="item" index="item" open="(" separator="," close=")">
        #{item}
      </foreach>
    </if>
  </select>
</mapper>