12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper
- PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
- "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
- <mapper namespace="com.miaxis.question.mapper.QuestionYdtJsMapper">
- <resultMap type="QuestionYdtJs" id="QuestionYdtJsResult">
- <result property="id" column="id" />
- <result property="kemu" column="kemu" />
- <result property="qbAnalyse" column="qb_analyse" />
- <result property="qbContent" column="qb_content" />
- <result property="qbReadAnalyse" column="qb_read_analyse" />
- <result property="qbSkillPicture" column="qb_skill_picture" />
- <result property="qbAnswers" column="qb_answers" />
- <result property="questionids" column="questionIds" />
- <result property="shortVideoDuration" column="short_video_duration" />
- <result property="shortVideoSize" column="short_video_size" />
- <result property="shortVideoUrl" column="short_video_url" />
- <result property="shortVideoImage" column="short_video_image" />
- <result property="ydtAnalyse" column="ydt_analyse" />
- <result property="ydtAnalysePic" column="ydt_analyse_pic" />
- <result property="ydtVideo" column="ydt_video" />
- <result property="ydtVideoLen" column="ydt_video_len" />
- <result property="ydtVideoPic" column="ydt_video_pic" />
- <result property="ydtVideoSize" column="ydt_video_size" />
- </resultMap>
- <sql id="selectQuestionYdtJsVo">
- select * from question_ydt_js
- </sql>
- <select id="selectQuestionYdtJsList" parameterType="QuestionYdtJs" resultMap="QuestionYdtJsResult">
- <include refid="selectQuestionYdtJsVo"/>
- <where>
- <if test="kemu != null and kemu != ''"> and kemu = #{kemu}</if>
- <if test="qbAnalyse != null and qbAnalyse != ''"> and qb_analyse = #{qbAnalyse}</if>
- <if test="qbContent != null and qbContent != ''"> and qb_content = #{qbContent}</if>
- <if test="qbReadAnalyse != null and qbReadAnalyse != ''"> and qb_read_analyse = #{qbReadAnalyse}</if>
- <if test="qbSkillPicture != null and qbSkillPicture != ''"> and qb_skill_picture = #{qbSkillPicture}</if>
- <if test="qbAnswers != null and qbAnswers != ''"> and qb_answers = #{qbAnswers}</if>
- <if test="questionids != null and questionids != ''"> and questionIds = #{questionids}</if>
- <if test="shortVideoDuration != null and shortVideoDuration != ''"> and short_video_duration = #{shortVideoDuration}</if>
- <if test="shortVideoSize != null and shortVideoSize != ''"> and short_video_size = #{shortVideoSize}</if>
- <if test="shortVideoUrl != null and shortVideoUrl != ''"> and short_video_url = #{shortVideoUrl}</if>
- <if test="shortVideoImage != null and shortVideoImage != ''"> and short_video_image = #{shortVideoImage}</if>
- <if test="ydtAnalyse != null and ydtAnalyse != ''"> and ydt_analyse = #{ydtAnalyse}</if>
- <if test="ydtAnalysePic != null and ydtAnalysePic != ''"> and ydt_analyse_pic = #{ydtAnalysePic}</if>
- <if test="ydtVideo != null and ydtVideo != ''"> and ydt_video = #{ydtVideo}</if>
- <if test="ydtVideoLen != null and ydtVideoLen != ''"> and ydt_video_len = #{ydtVideoLen}</if>
- <if test="ydtVideoPic != null and ydtVideoPic != ''"> and ydt_video_pic = #{ydtVideoPic}</if>
- <if test="ydtVideoSize != null and ydtVideoSize != ''"> and ydt_video_size = #{ydtVideoSize}</if>
- </where>
- </select>
- </mapper>
|