package com.jwipc.sys.client.impl;

import com.jwipc.sys.client.UserRoleClient;
import com.jwipc.sys.logic.RoleLogic;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Service
@RequiredArgsConstructor
public class UserRoleClientImpl implements UserRoleClient {
    private final RoleLogic roleLogic;

    public void createSupplierDefaultRole(Long userId) {
        roleLogic.createSupplierDefaultRole(userId);
    }
}
