liusheng
2024-04-15 fdf1b9c1e4489a0c2615fa596268b2f71fad7b4c
smartor/src/main/resources/mapper/smartor/HeTaskMapper.xml
@@ -35,6 +35,8 @@
        <result property="sendTime" column="send_time"/>
        <result property="isSend" column="is_send"/>
        <result property="sendState" column="send_state"/>
        <result property="richText" column="rich_text"/>
        <result property="textParam" column="text_param"/>
    </resultMap>
    <sql id="selectHeTaskVo">
@@ -67,7 +69,9 @@
               guid,
               send_time,
               is_send,
               send_state
               send_state,
               rich_text,
               text_param
        from he_task
    </sql>
@@ -103,6 +107,8 @@
            <if test="sendTime != null ">and send_time = #{sendTime}</if>
            <if test="isSend != null ">and is_send = #{isSend}</if>
            <if test="sendState != null ">and send_state = #{sendState}</if>
            <if test="richText != null ">and rich_text = #{richText}</if>
            <if test="textParam != null ">and text_param = #{textParam}</if>
        </where>
    </select>
@@ -143,6 +149,8 @@
            <if test="sendTime != null">send_time,</if>
            <if test="isSend != null">is_send,</if>
            <if test="sendState != null">send_state,</if>
            <if test="richText != null ">rich_text,</if>
            <if test="textParam != null ">text_param</if>
        </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="svrtaskid != null">#{svrtaskid},</if>
@@ -174,6 +182,8 @@
            <if test="sendTime != null">#{sendTime},</if>
            <if test="isSend != null">#{isSend},</if>
            <if test="sendState != null">#{sendState},</if>
            <if test="richText != null ">#{richText},</if>
            <if test="textParam != null ">#{textParam},</if>
        </trim>
    </insert>
@@ -209,6 +219,8 @@
            <if test="sendTime != null">send_time = #{sendTime},</if>
            <if test="isSend != null">is_send = #{isSend},</if>
            <if test="sendState != null">send_state = #{sendState},</if>
            <if test="richText != null ">rich_text = #{richText},</if>
            <if test="textParam != null ">text_param = #{textParam},</if>
        </trim>
        where id = #{id}
    </update>