a.id AS "id",
a.title AS "title",
a.author AS "author",
a.info_detail AS "infoDetail",
a.create_by AS "createBy.id",
a.create_date AS "createDate",
a.update_by AS "updateBy.id",
a.update_date AS "updateDate",
a.remarks AS "remarks",
a.del_flag AS "delFlag"
INSERT INTO native_dog_info(
id,
title,
author,
info_detail,
create_by,
create_date,
update_by,
update_date,
remarks,
del_flag
) VALUES (
#{id},
#{title},
#{author},
#{infoDetail},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{remarks},
#{delFlag}
)
UPDATE native_dog_info SET
title = #{title},
author = #{author},
info_detail = #{infoDetail},
update_by = #{updateBy.id},
update_date = #{updateDate},
remarks = #{remarks}
WHERE id = #{id}
UPDATE native_dog_info SET
del_flag = #{DEL_FLAG_DELETE}
WHERE id = #{id}