fuliqi
2024-09-03 088bc1e162261a91a8779d8079bef9d6a5d6d3e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.ycl.platform.mapper;
 
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 
import com.ycl.platform.domain.entity.YwUnit;
import com.ycl.platform.domain.query.DistributeWorkOrderQuery;
import com.ycl.platform.domain.vo.YwUnitVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
/**
 * 运维单位 Mapper 接口
 *
 * @author xp
 * @since 2024-03-04
 */
@Mapper
public interface YwUnitMapper extends BaseMapper<YwUnit> {
 
    /**
     * 运维单位列表统计
     * @return 数据
     */
    Integer workList(@Param("query") DistributeWorkOrderQuery query);
 
    /**
     * 通过用户ID查找运维单位
     *
     * @param userId
     * @return
     */
    YwUnit getByUserId(Long userId);
 
    /**
     * 运维单位违规次数
     * @return 数据
     */
    List<Map<String, Object>> ywUnitCount();
}