id, name, level, title, path, component, icon, buttontype, status, description, sortorder,
type, expand, checked, selected, createdby, createddate, lastmodifiedby, lastmodifieddate,
parentid
delete from permission
where id = #{id,jdbcType=INTEGER}
update permission
name = #{name,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
title = #{title,jdbcType=VARCHAR},
path = #{path,jdbcType=VARCHAR},
component = #{component,jdbcType=VARCHAR},
icon = #{icon,jdbcType=VARCHAR},
buttonType = #{buttontype,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
description = #{description,jdbcType=VARCHAR},
sortorder = #{sortorder,jdbcType=DOUBLE},
type = #{type,jdbcType=INTEGER},
expand = #{expand,jdbcType=BIT},
checked = #{checked,jdbcType=BIT},
selected = #{selected,jdbcType=BIT},
createdby = #{createdby,jdbcType=VARCHAR},
createddate = #{createddate,jdbcType=TIMESTAMP},
lastmodifiedby = #{lastmodifiedby,jdbcType=VARCHAR},
lastmodifieddate = #{lastmodifieddate,jdbcType=TIMESTAMP},
parentid = #{parentid,jdbcType=INTEGER},
where id = #{id,jdbcType=INTEGER}
update permission
set name = #{name,jdbcType=VARCHAR},
level = #{level,jdbcType=INTEGER},
title = #{title,jdbcType=VARCHAR},
path = #{path,jdbcType=VARCHAR},
component = #{component,jdbcType=VARCHAR},
icon = #{icon,jdbcType=VARCHAR},
buttonType = #{buttontype,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
description = #{description,jdbcType=VARCHAR},
sortorder = #{sortorder,jdbcType=DOUBLE},
type = #{type,jdbcType=INTEGER},
expand = #{expand,jdbcType=BIT},
checked = #{checked,jdbcType=BIT},
selected = #{selected,jdbcType=BIT},
createdby = #{createdby,jdbcType=VARCHAR},
createddate = #{createddate,jdbcType=TIMESTAMP},
lastmodifiedby = #{lastmodifiedby,jdbcType=VARCHAR},
lastmodifieddate = #{lastmodifieddate,jdbcType=TIMESTAMP},
parentid = #{parentid,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}