id, enable, name, roleKey, description insert into t_ly_role ( enable,name,roleKey,description) values (#{enable}, #{name}, #{roleKey}, #{description}) delete from t_ly_role where id=#{id} update t_ly_role name=#{name}, enable=#{enable}, description=#{description}, roleKey=#{roleKey} where id=#{id} delete from t_acc_role where acc_id=#{accountId} insert into t_acc_role (acc_id,role_id) value (#{accountId},#{roleId})