a.id AS "id",
a.cover AS "cover",
a.title AS "title",
a.create_by AS "createBy.id",
a.create_date AS "createDate",
a.update_by AS "updateBy.id",
a.update_date AS "updateDate",
a.del_flag AS "delFlag",
a.seq AS "seq",
a.is_outerChain AS "isOuterChain",
a.url AS "url"
INSERT INTO edu_column(
id,
cover,
title,
create_by,
create_date,
update_by,
update_date,
del_flag,
seq,
is_outerChain,
url
) VALUES (
#{id},
#{cover},
#{title},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{delFlag},
#{seq},
#{isOuterChain},
#{url}
)
UPDATE edu_column SET
cover = #{cover},
title = #{title},
update_by = #{updateBy.id},
update_date = #{updateDate},
seq = #{seq},
is_outerChain = #{isOuterChain},
url = #{url}
WHERE id = #{id}
DELETE FROM edu_column
WHERE id = #{id}
UPDATE edu_column SET
del_flag = #{DEL_FLAG_DELETE}
WHERE id = #{id}