package com.skr.mdm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skr.mdm.entity.AuLabelDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AuLabelDao extends BaseMapper<AuLabelDO> {

	/**
	 * 根据公司ID删除
	 * @param companyId 公司ID
	 */
	void deleteByCompanyId(@Param("companyId") Integer companyId);

    List<String> listUserNameByAuLabId(@Param("id") Integer id);

}