!2 【轻量级 PR】:update ruoyi-system/src/main/resources/mapper/survey/SurveyAnswerMapper.xml.

Merge pull request !2 from suny/N/A
approve-sys
tony 3 years ago committed by Gitee
commit e431c90dca

@ -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