|
@@ -22,13 +22,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="videoUrl" column="video_url" />
|
|
<result property="videoUrl" column="video_url" />
|
|
|
<result property="soundUrl" column="sound_url" />
|
|
<result property="soundUrl" column="sound_url" />
|
|
|
<result property="soundStatus" column="sound_status" />
|
|
<result property="soundStatus" column="sound_status" />
|
|
|
|
|
+ <result property="treatmentTargetTag" column="treatment_target_tag" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsProjectVo">
|
|
<sql id="selectFsProjectVo">
|
|
|
select id, project_name, day_name, create_time, update_time, meridians_img_url
|
|
select id, project_name, day_name, create_time, update_time, meridians_img_url
|
|
|
, first_field, second_field, third_field, fourth_field, first_content
|
|
, first_field, second_field, third_field, fourth_field, first_content
|
|
|
, second_content, third_content, fourth_content,video_url
|
|
, second_content, third_content, fourth_content,video_url
|
|
|
- , sound_url, sound_status from fs_project
|
|
|
|
|
|
|
+ , sound_url, sound_status, treatment_target_tag from fs_project
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectFsProjectList" parameterType="FsProject" resultMap="FsProjectResult">
|
|
<select id="selectFsProjectList" parameterType="FsProject" resultMap="FsProjectResult">
|
|
@@ -72,6 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="videoUrl != null">video_url,</if>
|
|
<if test="videoUrl != null">video_url,</if>
|
|
|
<if test="soundUrl != null">sound_url,</if>
|
|
<if test="soundUrl != null">sound_url,</if>
|
|
|
<if test="soundStatus != null">sound_status,</if>
|
|
<if test="soundStatus != null">sound_status,</if>
|
|
|
|
|
+ <if test="treatmentTargetTag != null">treatment_target_tag,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="projectName != null">#{projectName},</if>
|
|
<if test="projectName != null">#{projectName},</if>
|
|
@@ -90,6 +92,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="videoUrl != null">#{videoUrl},</if>
|
|
<if test="videoUrl != null">#{videoUrl},</if>
|
|
|
<if test="soundUrl != null">#{soundUrl},</if>
|
|
<if test="soundUrl != null">#{soundUrl},</if>
|
|
|
<if test="soundStatus != null">#{soundStatus},</if>
|
|
<if test="soundStatus != null">#{soundStatus},</if>
|
|
|
|
|
+ <if test="treatmentTargetTag != null">#{treatmentTargetTag},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -112,6 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="videoUrl != null">video_url = #{videoUrl},</if>
|
|
<if test="videoUrl != null">video_url = #{videoUrl},</if>
|
|
|
<if test="soundUrl != null">sound_url = #{soundUrl},</if>
|
|
<if test="soundUrl != null">sound_url = #{soundUrl},</if>
|
|
|
<if test="soundStatus != null">sound_status = #{soundStatus},</if>
|
|
<if test="soundStatus != null">sound_status = #{soundStatus},</if>
|
|
|
|
|
+ <if test="treatmentTargetTag != null">treatment_target_tag = #{treatmentTargetTag},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where id = #{id}
|
|
where id = #{id}
|
|
|
</update>
|
|
</update>
|