@Override
    public int create(final RoleDTO roleDTO) {
        final RoleDO role = RoleDO.buildRoleDO(roleDTO);
        final int insertCount = roleMapper.insertSelective(role);
        if (insertCount > 0) {
            roleEventPublisher.onCreated(role);
        }
        return insertCount;
    }
create or update role info.

@param roleDTO {@linkplain RoleDTO}
@return rows
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/RoleServiceImpl.java