a.id AS "id",
a.title AS "title",
a.address AS "address",
a.mobile AS "mobile",
a.post_code AS "postCode",
a.email AS "email",
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 gc_web_footer(
id,
title,
address,
mobile,
post_code,
email,
create_by,
create_date,
update_by,
update_date,
remarks,
del_flag
) VALUES (
#{id},
#{title},
#{address},
#{mobile},
#{postCode},
#{email},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{remarks},
#{delFlag}
)
UPDATE gc_web_footer SET
title = #{title},
address = #{address},
mobile = #{mobile},
post_code = #{postCode},
email = #{email},
update_by = #{updateBy.id},
update_date = #{updateDate},
remarks = #{remarks}
WHERE id = #{id}
UPDATE gc_web_footer SET
del_flag = #{DEL_FLAG_DELETE}
WHERE id = #{id}