liusheng
2024-07-18 27c3f725f9bbd51e97857de6cc191d016b660bd6
smartor/src/main/resources/mapper/smartor/SvyLibScriptOptionMapper.xml
@@ -7,6 +7,7 @@
    <resultMap type="com.smartor.domain.SvyLibScriptOption" id="SvyLibScriptOptionResult">
        <result property="id" column="id"/>
        <result property="topicid" column="topicid"/>
        <result property="picturePath" column="picture_path"/>
        <result property="svyid" column="svyid"/>
        <result property="topictype" column="topictype"/>
        <result property="optioncode" column="optioncode"/>
@@ -44,6 +45,7 @@
        select id,
               topicid,
               svyid,
               picture_path,
               appendflag,
               appenddesc,
               topictype,
@@ -109,6 +111,7 @@
            <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
            <if test="appendflag != null">and appendflag = #{appendflag}</if>
            <if test="appenddesc != null">and appenddesc = #{appenddesc}</if>
            <if test="picturePath != null">and picture_path = #{picturePath}</if>
        </where>
    </select>
@@ -153,6 +156,7 @@
            <if test="uploadTime != null">upload_time,</if>
            <if test="appendflag != null">appendflag,</if>
            <if test="appenddesc != null">appenddesc,</if>
            <if test="picturePath != null">picture_path,</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="topicid != null">#{topicid},</if>
@@ -187,6 +191,7 @@
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="appendflag != null">#{appendflag},</if>
            <if test="appenddesc != null">#{appenddesc},</if>
            <if test="picturePath != null">#{picturePath},</if>
        </trim>
    </insert>
@@ -225,6 +230,7 @@
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="appendflag != null">appendflag = #{appendflag},</if>
            <if test="appenddesc != null">appenddesc = #{appenddesc},</if>
            <if test="picturePath != null">picture_path = #{picturePath},</if>
        </trim>
        where id = #{id}
    </update>
@@ -243,6 +249,5 @@
            #{id}
        </foreach>
    </delete>
</mapper>