package com.skr.mdm.handle;

import com.skr.mdm.publish.MdmEventPublisher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author nfq
 * @date 2020/9/3 15:24
 */
@Component
public class IssuedUserHandler {

    @Autowired
    private MdmEventPublisher mdmEventPublisher;

    /**
     * issued
     *
     * @param equipmentIdList
     * @param companyId
     * @param cmdType
     * @param data
     */
    public void issuedUser(List<Integer> equipmentIdList, Integer companyId, String cmdType, String data) {
        mdmEventPublisher.publishPushUserEvent(equipmentIdList, companyId, cmdType, data);
    }

}