id, pcloud_guide_id, reply_type, content, pic_url, create_time, update_time, resource_id
select from pcloud_guide_message where id = #{id,jdbcType=INTEGER}
delete from pcloud_guide_message where id = #{id,jdbcType=INTEGER}
insert into pcloud_guide_message (id, pcloud_guide_id, reply_type, content, pic_url, create_time, update_time, resource_id) values (#{id,jdbcType=INTEGER}, #{pcloudGuideId,jdbcType=INTEGER}, #{replyType,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{picUrl,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{resourceId})
insert into pcloud_guide_message id, pcloud_guide_id, reply_type, content, pic_url, create_time, update_time, #{id,jdbcType=INTEGER}, #{pcloudGuideId,jdbcType=INTEGER}, #{replyType,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{picUrl,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
update pcloud_guide_message pcloud_guide_id = #{pcloudGuideId,jdbcType=INTEGER}, reply_type = #{replyType,jdbcType=INTEGER}, content = #{content,jdbcType=VARCHAR}, pic_url = #{picUrl,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=INTEGER}
update pcloud_guide_message set pcloud_guide_id = #{pcloudGuideId,jdbcType=INTEGER}, reply_type = #{replyType,jdbcType=INTEGER}, content = #{content,jdbcType=VARCHAR}, pic_url = #{picUrl,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, resource_id = #{resourceId} where id = #{id,jdbcType=INTEGER}
insert into pcloud_guide_message (pcloud_guide_id, reply_type, content, pic_url, create_time, resource_id) values (#{item.pcloudGuideId}, #{item.replyType}, #{item.content}, #{item.picUrl}, now(), #{item.resourceId})
delete from pcloud_guide_message where pcloud_guide_id = #{pcloudGuideId}
SELECT reply_type replyType, content, pic_url picUrl, resource_id resourceId FROM `pcloud_guide_message` WHERE pcloud_guide_id = #{pcloudGuideId}
SELECT reply_type replyType, content, pic_url picUrl, resource_id resourceId FROM pcloud_guide a LEFT JOIN pcloud_guide_message b ON a.id = b.pcloud_guide_id WHERE robot_wx_id = #{robotId}