and content.catalog_id_ in (${catalogIds})
and content.title_ like '%' #{title} '%'
and content.status_ = #{status}
id_, title_, catalog_id_, create_on_, modify_on_,status_,order_
content.id_, content.title_, content.catalog_id_,
content.create_on_,
content.modify_on_,content.status_,content.content_,content.order_,
catalog.id_,
catalog.name_, catalog.parent_id_
content_
delete from help_center_content
where id_ = #{id,jdbcType=INTEGER}
delete from help_center_content
where catalog_id_ = #{catalogId,jdbcType=INTEGER}
insert into help_center_content
(id_, title_, catalog_id_,
create_on_, modify_on_, content_,status_,order_
)
values
(#{id,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR},
#{catalogId,jdbcType=INTEGER},
#{createOn,jdbcType=TIMESTAMP},
#{modifyOn,jdbcType=TIMESTAMP}, #{content,jdbcType=LONGVARCHAR},#{status,jdbcType=INTEGER},#{order,jdbcType=INTEGER}
)
update help_center_content
title_ = #{title,jdbcType=VARCHAR},
catalog_id_ = #{catalogId,jdbcType=INTEGER},
create_on_ = #{createOn,jdbcType=TIMESTAMP},
modify_on_ = #{modifyOn,jdbcType=TIMESTAMP},
content_ = #{content,jdbcType=LONGVARCHAR},
status_ = #{status,jdbcType=INTEGER},
order_ = #{order,jdbcType=INTEGER},
where id_ = #{id,jdbcType=INTEGER}
update help_center_content
set title_ = #{title,jdbcType=VARCHAR},
catalog_id_ =
#{catalogId,jdbcType=INTEGER},
create_on_ =
#{createOn,jdbcType=TIMESTAMP},
modify_on_ =
#{modifyOn,jdbcType=TIMESTAMP},
content_ =
#{content,jdbcType=LONGVARCHAR},
status_= #{status,jdbcType=INTEGER},
order_= #{order,jdbcType=INTEGER}
where id_ = #{id,jdbcType=INTEGER}
update help_center_content
set title_ = #{title,jdbcType=VARCHAR},
catalog_id_ =
#{catalogId,jdbcType=INTEGER},
create_on_ =
#{createOn,jdbcType=TIMESTAMP},
modify_on_ =
#{modifyOn,jdbcType=TIMESTAMP},
status_ = #{status,jdbcType=INTEGER},
order_ = #{order,jdbcType=INTEGER},
where id_ = #{id,jdbcType=INTEGER}
update help_center_content set status_=#{status} where catalog_id_=#{catalogId}