insert into SS_ROLE_OPERATION(ROLE_ID, OPERATION_ID) select id, (select max(id) from SS_OPERATION where operationId = 'SSTS_UpdateAppDepartAndSettleAccountsDepart') from SS_ROLES where name <> 'ROLE_ADMINISTRATOR_0';