button_id as buttonId,
button_html_id as buttonHtmlId,
button_type as buttonType,
is_use as isUse,
button_html as buttonHtml,
button_descript as buttonDescript,
button_html_name as buttonHtmlName
button_html_id = #{buttonHtmlId} AND
button_type = #{buttonType} AND
is_use = #{isUse} AND
button_html = #{buttonHtml} AND
button_descript = #{buttonDescript} AND
button_html_name = #{buttonHtmlName} AND
insert into sys_button
button_id,
button_html_id,
button_type,
is_use,
button_html,
button_descript,
button_html_name,
#{buttonId},
#{buttonHtmlId},
#{buttonType},
#{isUse},
#{buttonHtml},
#{buttonDescript},
#{buttonHtmlName},
update sys_button
button_html_id=#{buttonHtmlId},
button_type=#{buttonType},
is_use=#{isUse},
button_html=#{buttonHtml},
button_descript=#{buttonDescript},
button_html_name=#{buttonHtmlName},
where button_id=#{buttonId}
Delete from sys_button where button_id=#{buttonId}