id, title, filepath, userid, readcount, sendcount, is_valid, update_time,releasetime, update_user_id,filename,peoples content and id = #{id} and userid = #{userid,jdbcType=VARCHAR} and title like CONCAT("%",#{title},"%") and is_valid = #{isValid,jdbcType=TINYINT} and is_valid ]]> 2 and is_valid != 2 and update_time = #{updateTime,jdbcType=TIMESTAMP} and update_user_id = #{updateUserId,jdbcType=VARCHAR} and releasetime = #{releasetime,jdbcType=TIMESTAMP} order by ${sorting} limit #{offset}, #{limit} u.userid = #{userid,jdbcType=VARCHAR} and c.title like CONCAT("%",#{title},"%") and c.releasetime >= #{relestarttime} and c.releasetime #{releendtime} and u.is_valid = #{isValid,jdbcType=TINYINT} delete from cp_notice where id = #{id,jdbcType=VARCHAR} insert into cp_notice (id, title, filepath, userid, readcount, sendcount, content,is_valid,update_time,update_user_id,releasetime,filename,peoples) values (#{id,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{filepath,jdbcType=VARCHAR}, #{userid,jdbcType=VARCHAR}, #{readcount,jdbcType=INTEGER}, #{sendcount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR},#{isValid,jdbcType=TINYINT},#{updateTime,jdbcType=TIMESTAMP}, #{updateUserId,jdbcType=VARCHAR},#{releasetime,jdbcType=TIMESTAMP},#{filename,jdbcType=VARCHAR},#{peoples,jdbcType=VARCHAR}) update cp_notice title = #{title,jdbcType=VARCHAR}, filepath = #{filepath,jdbcType=VARCHAR}, userid = #{userid,jdbcType=VARCHAR}, filename = #{filename,jdbcType=VARCHAR}, peoples = #{peoples,jdbcType=VARCHAR}, readcount = #{readcount,jdbcType=INTEGER}, sendcount = #{sendcount,jdbcType=INTEGER}, content = #{content,jdbcType=LONGVARCHAR}, is_valid = #{isValid,jdbcType=TINYINT}, update_time = #{updateTime,jdbcType=TIMESTAMP}, update_user_id = #{updateUserId,jdbcType=VARCHAR}, releasetime = #{releasetime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=VARCHAR}