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, parent_id, content, film_id, `state`, deleted, create_by, create_time,
update_time
delete from film_comments
where id = #{id,jdbcType=INTEGER}
delete from film_comments
insert into film_comments (parent_id, content, film_id,
`state`, deleted, create_by,
create_time, update_time)
values (#{parentId,jdbcType=INTEGER}, #{content,jdbcType=VARCHAR}, #{filmId,jdbcType=INTEGER},
#{state,jdbcType=BIT}, #{deleted,jdbcType=BIT}, #{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
insert into film_comments
parent_id,
content,
film_id,
`state`,
deleted,
create_by,
create_time,
update_time,
#{parentId,jdbcType=INTEGER},
#{content,jdbcType=VARCHAR},
#{filmId,jdbcType=INTEGER},
#{state,jdbcType=BIT},
#{deleted,jdbcType=BIT},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update film_comments
id = #{record.id,jdbcType=INTEGER},
parent_id = #{record.parentId,jdbcType=INTEGER},
content = #{record.content,jdbcType=VARCHAR},
film_id = #{record.filmId,jdbcType=INTEGER},
`state` = #{record.state,jdbcType=BIT},
deleted = #{record.deleted,jdbcType=BIT},
create_by = #{record.createBy,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update film_comments
set id = #{record.id,jdbcType=INTEGER},
parent_id = #{record.parentId,jdbcType=INTEGER},
content = #{record.content,jdbcType=VARCHAR},
film_id = #{record.filmId,jdbcType=INTEGER},
`state` = #{record.state,jdbcType=BIT},
deleted = #{record.deleted,jdbcType=BIT},
create_by = #{record.createBy,jdbcType=BIGINT},
create_time = #{record.createTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update film_comments
parent_id = #{parentId,jdbcType=INTEGER},
content = #{content,jdbcType=VARCHAR},
film_id = #{filmId,jdbcType=INTEGER},
`state` = #{state,jdbcType=BIT},
deleted = #{deleted,jdbcType=BIT},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update film_comments
set parent_id = #{parentId,jdbcType=INTEGER},
content = #{content,jdbcType=VARCHAR},
film_id = #{filmId,jdbcType=INTEGER},
`state` = #{state,jdbcType=BIT},
deleted = #{deleted,jdbcType=BIT},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}