id, robot_wx_id, silence_duration, create_time, update_time, pcloud_classify_id
select from pcloud_robot_silence where id = #{id,jdbcType=INTEGER}
delete from pcloud_robot_silence where id = #{id,jdbcType=INTEGER}
insert into pcloud_robot_silence (id, robot_wx_id, silence_duration, create_time, update_time, pcloud_classify_id) values (#{id,jdbcType=INTEGER}, #{robotWxId,jdbcType=VARCHAR}, #{silenceDuration,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{pcloudClassifyId})
insert into pcloud_robot_silence id, robot_wx_id, silence_duration, create_time, update_time, #{id,jdbcType=INTEGER}, #{robotWxId,jdbcType=VARCHAR}, #{silenceDuration,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
update pcloud_robot_silence robot_wx_id = #{robotWxId,jdbcType=VARCHAR}, silence_duration = #{silenceDuration,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=INTEGER}
update pcloud_robot_silence set silence_duration = #{silenceDuration,jdbcType=INTEGER}, update_time = #{updateTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=INTEGER}
SELECT robot_wx_id FROM pcloud_robot_silence UNION SELECT robot_wx_id FROM pcloud_guide
SELECT silence_duration FROM pcloud_robot_silence WHERE 1=1 and robot_wx_id = #{wxId} and pcloud_classify_id = #{pcloudClassifyId}
INSERT INTO pcloud_robot_silence (robot_wx_id,silence_duration,create_time, pcloud_classify_id) VALUE(#{robotWxId},#{silenceDuration},NOW(), #{pcloudClassifyId}) ON DUPLICATE KEY UPDATE robot_wx_id=#{robotWxId},silence_duration=#{silenceDuration},update_time=NOW()
SELECT id, robot_wx_id, silence_duration, create_time, update_time, pcloud_classify_id FROM pcloud_robot_silence WHERE 1=1 and robot_wx_id = #{wxId} and pcloud_classify_id = #{pcloudClassifyId}