fuliqi
2024-08-29 32b6f9f03fdb9056aed623e86385a94f58b045cf
ycl-server/src/main/java/com/ycl/platform/mapper/YwUnitMapper.java
@@ -8,6 +8,7 @@
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;
/**
 * 运维单位 Mapper 接口
@@ -23,4 +24,18 @@
     * @return 数据
     */
    List<YwUnitVO> workList();
    /**
     * 通过用户ID查找运维单位
     *
     * @param userId
     * @return
     */
    YwUnit getByUserId(Long userId);
    /**
     * 运维单位违规次数
     * @return 数据
     */
    List<Map<String, Object>> ywUnitCount();
}