| | |
| | | <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"> |
| | |
| | | guid, |
| | | send_time, |
| | | is_send, |
| | | send_state |
| | | send_state, |
| | | rich_text, |
| | | text_param |
| | | from he_task |
| | | </sql> |
| | | |
| | |
| | | <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> |
| | | |
| | |
| | | <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> |
| | |
| | | <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> |
| | | |
| | |
| | | <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> |