update ruoyi-system/src/main/resources/mapper/survey/SurveyAnswerMapper.xml.

调查问卷---回答列表--- 导出功能 bug修复
approve-sys
suny 3 years ago committed by Gitee
parent f2f8a83ed2
commit ff2a1e43f4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -15,14 +15,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectSurveyAnswerVo">
select answer_id,paper_d, question_id, option_id, user_id, create_time, content from t_survey_answer
select answer_id,paper_id, question_id, option_id, user_id, create_time, content from t_survey_answer
</sql>
<select id="selectSurveyAnswerList" parameterType="SurveyAnswer" resultMap="SurveyAnswerResult">
<include refid="selectSurveyAnswerVo"/>
<where>
<if test="questionId != null "> and question_id = #{questionId}</if>
<if test="paperId != null "> and paper_d = #{paperId}</if>
<if test="paperId != null "> and paper_id = #{paperId}</if>
<if test="optionId != null "> and option_id = #{optionId}</if>
<if test="userId != null and userId != ''"> and user_id = #{userId}</if>
<if test="content != null and content != ''"> and content = #{content}</if>

Loading…
Cancel
Save