package com.ycl.platform.mapper;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.ycl.platform.domain.entity.YwUnit;
|
import com.ycl.platform.domain.vo.YwUnitVO;
|
import org.apache.ibatis.annotations.Mapper;
|
|
import java.util.List;
|
|
/**
|
* 运维单位 Mapper 接口
|
*
|
* @author xp
|
* @since 2024-03-04
|
*/
|
@Mapper
|
public interface YwUnitMapper extends BaseMapper<YwUnit> {
|
|
/**
|
* 运维单位列表统计
|
* @return 数据
|
*/
|
List<YwUnitVO> workList();
|
|
/**
|
* 通过用户ID查找运维单位
|
*
|
* @param userId
|
* @return
|
*/
|
YwUnit getByUserId(Long userId);
|
}
|