and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, creater, create_time, update_time, producer_id, consumer_type, title, body, subject, resource_id, resource_type, delete_sign, is_draft delete from message_from_system where id = #{id,jdbcType=VARCHAR} delete from message_from_system insert into message_from_system (id, creater, create_time, update_time, producer_id, consumer_type, title, body, subject, resource_id, resource_type, delete_sign, is_draft) values (#{id,jdbcType=VARCHAR}, #{creater,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{producerId,jdbcType=VARCHAR}, #{consumerType,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{body,jdbcType=VARCHAR}, #{subject,jdbcType=INTEGER}, #{resourceId,jdbcType=VARCHAR}, #{resourceType,jdbcType=INTEGER}, #{deleteSign,jdbcType=BIT}, #{isDraft,jdbcType=INTEGER}) insert into message_from_system id, creater, create_time, update_time, producer_id, consumer_type, title, body, subject, resource_id, resource_type, delete_sign, is_draft, #{id,jdbcType=VARCHAR}, #{creater,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{producerId,jdbcType=VARCHAR}, #{consumerType,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{body,jdbcType=VARCHAR}, #{subject,jdbcType=INTEGER}, #{resourceId,jdbcType=VARCHAR}, #{resourceType,jdbcType=INTEGER}, #{deleteSign,jdbcType=BIT}, #{isDraft,jdbcType=INTEGER}, update message_from_system id = #{record.id,jdbcType=VARCHAR}, creater = #{record.creater,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, producer_id = #{record.producerId,jdbcType=VARCHAR}, consumer_type = #{record.consumerType,jdbcType=INTEGER}, title = #{record.title,jdbcType=VARCHAR}, body = #{record.body,jdbcType=VARCHAR}, subject = #{record.subject,jdbcType=INTEGER}, resource_id = #{record.resourceId,jdbcType=VARCHAR}, resource_type = #{record.resourceType,jdbcType=INTEGER}, delete_sign = #{record.deleteSign,jdbcType=BIT}, is_draft = #{record.isDraft,jdbcType=INTEGER}, update message_from_system set id = #{record.id,jdbcType=VARCHAR}, creater = #{record.creater,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, producer_id = #{record.producerId,jdbcType=VARCHAR}, consumer_type = #{record.consumerType,jdbcType=INTEGER}, title = #{record.title,jdbcType=VARCHAR}, body = #{record.body,jdbcType=VARCHAR}, subject = #{record.subject,jdbcType=INTEGER}, resource_id = #{record.resourceId,jdbcType=VARCHAR}, resource_type = #{record.resourceType,jdbcType=INTEGER}, delete_sign = #{record.deleteSign,jdbcType=BIT}, is_draft = #{record.isDraft,jdbcType=INTEGER} update message_from_system creater = #{creater,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, producer_id = #{producerId,jdbcType=VARCHAR}, consumer_type = #{consumerType,jdbcType=INTEGER}, title = #{title,jdbcType=VARCHAR}, body = #{body,jdbcType=VARCHAR}, subject = #{subject,jdbcType=INTEGER}, resource_id = #{resourceId,jdbcType=VARCHAR}, resource_type = #{resourceType,jdbcType=INTEGER}, delete_sign = #{deleteSign,jdbcType=BIT}, is_draft = #{isDraft,jdbcType=INTEGER}, where id = #{id,jdbcType=VARCHAR} update message_from_system set creater = #{creater,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, producer_id = #{producerId,jdbcType=VARCHAR}, consumer_type = #{consumerType,jdbcType=INTEGER}, title = #{title,jdbcType=VARCHAR}, body = #{body,jdbcType=VARCHAR}, subject = #{subject,jdbcType=INTEGER}, resource_id = #{resourceId,jdbcType=VARCHAR}, resource_type = #{resourceType,jdbcType=INTEGER}, delete_sign = #{deleteSign,jdbcType=BIT}, is_draft = #{isDraft,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} insert into message_from_system (id,creater,producer_id, consumer_type,title,body,subject,resource_id,resource_type,delete_sign,is_draft) values ( #{item.id,jdbcType=VARCHAR}, #{item.creater,jdbcType=VARCHAR}, #{item.producerId,jdbcType=VARCHAR}, #{item.consumerType,jdbcType=VARCHAR}, #{item.title,jdbcType=VARCHAR}, #{item.body,jdbcType=VARCHAR}, #{item.subject,jdbcType=VARCHAR}, #{item.resourceId,jdbcType=VARCHAR}, #{item.resourceType,jdbcType=VARCHAR}, #{item.deleteSign,jdbcType=VARCHAR}, #{item.isDraft,jdbcType=VARCHAR} ) insert into message_producer (id,consumer_id,message_id) values ( #{item.id,jdbcType=VARCHAR},#{item.consumerId,jdbcType=VARCHAR},#{item.messageId,jdbcType=VARCHAR} ) insert into message_consumer (id,consumer_id,message_id) values ( #{item.id,jdbcType=VARCHAR},#{item.consumerId,jdbcType=VARCHAR},#{item.messageId,jdbcType=VARCHAR} ) update jpush_easemob_account uuid = #{uuid,jdbcType=VARCHAR}, registration_id = #{registrationId,jdbcType=VARCHAR}, easemob_name = #{easemobName,jdbcType=VARCHAR}, easemob_pass = #{easemobPass,jdbcType=VARCHAR}, last_login_time = #{lastLoginTime,jdbcType=TIMESTAMP} where uid = #{uid,jdbcType=VARCHAR} update message_consumer read_time = #{readTime,jdbcType=TIMESTAMP} where consumer_id = #{uid,jdbcType=VARCHAR} and message_id = #{messageId,jdbcType=VARCHAR}