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, title, pic, indate, type, ext, user_token content delete from message where id = #{id,jdbcType=INTEGER} delete from message SELECT LAST_INSERT_ID() insert into message (title, pic, indate, type, ext, user_token, content) values (#{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER}, #{ext,jdbcType=VARCHAR}, #{userToken,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}) SELECT LAST_INSERT_ID() insert into message title, pic, indate, type, ext, user_token, content, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{indate,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER}, #{ext,jdbcType=VARCHAR}, #{userToken,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}, update message id = #{record.id,jdbcType=INTEGER}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, indate = #{record.indate,jdbcType=TIMESTAMP}, type = #{record.type,jdbcType=INTEGER}, ext = #{record.ext,jdbcType=VARCHAR}, user_token = #{record.userToken,jdbcType=VARCHAR}, content = #{record.content,jdbcType=LONGVARCHAR}, update message set id = #{record.id,jdbcType=INTEGER}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, indate = #{record.indate,jdbcType=TIMESTAMP}, type = #{record.type,jdbcType=INTEGER}, ext = #{record.ext,jdbcType=VARCHAR}, user_token = #{record.userToken,jdbcType=VARCHAR}, content = #{record.content,jdbcType=LONGVARCHAR} update message set id = #{record.id,jdbcType=INTEGER}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, indate = #{record.indate,jdbcType=TIMESTAMP}, type = #{record.type,jdbcType=INTEGER}, ext = #{record.ext,jdbcType=VARCHAR}, user_token = #{record.userToken,jdbcType=VARCHAR} update message title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, indate = #{indate,jdbcType=TIMESTAMP}, type = #{type,jdbcType=INTEGER}, ext = #{ext,jdbcType=VARCHAR}, user_token = #{userToken,jdbcType=VARCHAR}, content = #{content,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=INTEGER} update message set title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, indate = #{indate,jdbcType=TIMESTAMP}, type = #{type,jdbcType=INTEGER}, ext = #{ext,jdbcType=VARCHAR}, user_token = #{userToken,jdbcType=VARCHAR}, content = #{content,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=INTEGER} update message set title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, indate = #{indate,jdbcType=TIMESTAMP}, type = #{type,jdbcType=INTEGER}, ext = #{ext,jdbcType=VARCHAR}, user_token = #{userToken,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}