Ver Fonte

理疗--症型开关

wjj há 5 dias atrás
pai
commit
0bf148d50c

+ 4 - 1
fs-service/src/main/java/com/fs/his/domain/FsProject.java

@@ -78,5 +78,8 @@ public class FsProject extends BaseEntity{
      */
     private Integer soundStatus;
 
-
+    /**
+     * 证型调理开关 1-开 0-关
+     */
+    private Integer treatmentTargetTag;
 }

+ 5 - 1
fs-service/src/main/resources/mapper/his/FsProjectMapper.xml

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