liusheng
2024-07-18 27c3f725f9bbd51e97857de6cc191d016b660bd6
smartor/src/main/resources/mapper/smartor/SvyLibScriptMapper.xml
@@ -9,7 +9,7 @@
        <result property="scriptType" column="script_type"/>
        <result property="scriptcode" column="script_code"/>
        <result property="scriptDesc" column="script_desc"/>
        <result property="scriptPicture" column="script_picture"/>
        <result property="picturePath" column="picture_path"/>
        <result property="sort" column="sort"/>
        <result property="ismandatory" column="ismandatory"/>
        <result property="ishide" column="ishide"/>
@@ -63,7 +63,7 @@
               suitway,
               isavailable,
               otherdata,
               script_picture,
               picture_path,
            language,
            icd10_name
        from svy_lib_script
@@ -126,7 +126,7 @@
            <if test="scoretype != null and scoretype!=''">scoretype,</if>
            <if test="score != null and score!=''">score,</if>
            <if test="icd10Name != null and icd10Name!=''">icd10_name,</if>
            <if test="scriptPicture != null  and scriptPicture != ''">script_picture,</if>
            <if test="picturePath != null  and picturePath != ''">picture_path,</if>
            <if test="scriptTopic != null  and scriptTopic != ''">script_topic,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -156,7 +156,7 @@
            <if test="scoretype != null and scoretype!=''">#{scoretype},</if>
            <if test="score != null and score!=''">#{score},</if>
            <if test="icd10Name != null and icd10Name!=''">#{icd10Name},</if>
            <if test="scriptPicture != null  and scriptPicture != ''">#{scriptPicture},</if>
            <if test="picturePath != null  and picturePath != ''">#{picturePath},</if>
            <if test="scriptTopic != null  and scriptTopic != ''">#{scriptTopic},</if>
        </trim>
    </insert>
@@ -190,7 +190,7 @@
            <if test="scoretype != null and scoretype!=''">scoretype = #{scoretype},</if>
            <if test="score != null and score!=''">score = #{score},</if>
            <if test="icd10Name != null and icd10Name!=''">icd10_name = #{icd10Name},</if>
            <if test="scriptPicture != null  and scriptPicture != ''">script_picture = #{scriptPicture},</if>
            <if test="picturePath != null  and picturePath != ''">picture_path = #{picturePath},</if>
            <if test="scriptTopic != null  and scriptTopic != ''">script_topic = #{scriptTopic},</if>
        </trim>
        where id = #{id}