|
|
|
|
@ -14,6 +14,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<result property="modeVideo" column="mode_video" />
|
|
|
|
|
<result property="modeType" column="mode_type" />
|
|
|
|
|
<result property="modeClass" column="mode_class" />
|
|
|
|
|
<result property="isCustomMode" column="is_custom_mode" />
|
|
|
|
|
<result property="isCabinMode" column="is_cabin_mode" />
|
|
|
|
|
<result property="modeTime" column="mode_time" />
|
|
|
|
|
<result property="preparationVideo" column="preparation_video" />
|
|
|
|
|
@ -32,7 +33,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="selectWxModeVo">
|
|
|
|
|
select id, instrument_type, instrument_model, mode_name, mode_desc, mode_banner, mode_video, mode_type, mode_class, is_cabin_mode, mode_time, preparation_video, began_video, pause_video, status, create_by, create_time, update_by, update_time, remark from wx_mode
|
|
|
|
|
select id, instrument_type, instrument_model, mode_name, mode_desc, mode_banner, mode_video, mode_type, mode_class, is_cabin_mode, is_custom_mode, mode_time, preparation_video, began_video, pause_video, status, create_by, create_time, update_by, update_time, remark from wx_mode
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectWxModeList" parameterType="WxMode" resultMap="WxModeResult">
|
|
|
|
|
@ -46,6 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="modeVideo != null and modeVideo != ''"> and mode_video = #{modeVideo}</if>
|
|
|
|
|
<if test="modeType != null "> and mode_type = #{modeType}</if>
|
|
|
|
|
<if test="modeClass != null "> and mode_class = #{modeClass}</if>
|
|
|
|
|
<if test="isCustomMode != null "> and is_custom_mode = #{isCustomMode}</if>
|
|
|
|
|
<if test="isCabinMode != null "> and is_cabin_mode = #{isCabinMode}</if>
|
|
|
|
|
<if test="modeTime != null "> and mode_time = #{modeTime}</if>
|
|
|
|
|
<if test="preparationVideo != null and preparationVideo != ''"> and preparation_video = #{preparationVideo}</if>
|
|
|
|
|
@ -82,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="modeVideo != null">mode_video,</if>
|
|
|
|
|
<if test="modeType != null">mode_type,</if>
|
|
|
|
|
<if test="modeClass != null">mode_class,</if>
|
|
|
|
|
<if test="isCustomMode != null">is_custom_mode,</if>
|
|
|
|
|
<if test="isCabinMode != null">is_cabin_mode,</if>
|
|
|
|
|
<if test="modeTime != null">mode_time,</if>
|
|
|
|
|
<if test="preparationVideo != null">preparation_video,</if>
|
|
|
|
|
@ -103,6 +106,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="modeVideo != null">#{modeVideo},</if>
|
|
|
|
|
<if test="modeType != null">#{modeType},</if>
|
|
|
|
|
<if test="modeClass != null">#{modeClass},</if>
|
|
|
|
|
<if test="isCustomMode != null">#{isCustomMode},</if>
|
|
|
|
|
<if test="isCabinMode != null">#{isCabinMode},</if>
|
|
|
|
|
<if test="modeTime != null">#{modeTime},</if>
|
|
|
|
|
<if test="preparationVideo != null">#{preparationVideo},</if>
|
|
|
|
|
@ -128,6 +132,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="modeVideo != null">mode_video = #{modeVideo},</if>
|
|
|
|
|
<if test="modeType != null">mode_type = #{modeType},</if>
|
|
|
|
|
<if test="modeClass != null">mode_class = #{modeClass},</if>
|
|
|
|
|
<if test="isCustomMode != null">is_custom_mode = #{isCustomMode},</if>
|
|
|
|
|
<if test="isCabinMode != null">is_cabin_mode = #{isCabinMode},</if>
|
|
|
|
|
<if test="modeTime != null">mode_time = #{modeTime},</if>
|
|
|
|
|
<if test="preparationVideo != null">preparation_video = #{preparationVideo},</if>
|
|
|
|
|
|