id, name, createdby, createddate, lastmodifiedby, lastmodifieddate, description,
code, btnaccess,isdel
delete from role
where id = #{id,jdbcType=BIGINT}
update role
name = #{name,jdbcType=VARCHAR},
createdby = #{createdby,jdbcType=VARCHAR},
createddate = #{createddate,jdbcType=TIMESTAMP},
lastmodifiedby = #{lastmodifiedby,jdbcType=VARCHAR},
lastmodifieddate = #{lastmodifieddate,jdbcType=TIMESTAMP},
description = #{description,jdbcType=VARCHAR},
code = #{code,jdbcType=VARCHAR},
btnaccess = #{btnaccess,jdbcType=VARCHAR},
isdel = #{isdel,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}
update role
set name = #{name,jdbcType=VARCHAR},
createdby = #{createdby,jdbcType=VARCHAR},
createddate = #{createddate,jdbcType=TIMESTAMP},
lastmodifiedby = #{lastmodifiedby,jdbcType=VARCHAR},
lastmodifieddate = #{lastmodifieddate,jdbcType=TIMESTAMP},
description = #{description,jdbcType=VARCHAR},
code = #{code,jdbcType=VARCHAR},
btnaccess = #{btnaccess,jdbcType=VARCHAR},
isdel = #{isdel,jdbcType=TINYINT},
where id = #{id,jdbcType=BIGINT}