mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package com.panzhihua.service_community.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.panzhihua.common.model.dtos.civil.ComActSocialExportVO;
import com.panzhihua.common.model.dtos.civil.ComActSocialWorkerExcelVO;
import com.panzhihua.common.model.dtos.civil.PageComActSocialWorkerDTO;
import com.panzhihua.common.model.vos.civil.ComActSocialWorkerVO;
import com.panzhihua.common.model.vos.community.bigscreen.BigScreenHmkProjectTypeInfo;
import org.apache.ibatis.annotations.Mapper;
import com.panzhihua.service_community.entity.ComActSocialWorker;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 社工(ComActSocialWorker)表数据库访问层
 *
 * @author makejava
 * @since 2021-10-25 10:56:47
 */
@Mapper
public interface ComActSocialWorkerDao extends BaseMapper<ComActSocialWorker> {
    /**
     * 分页查询
     * @param pageComActSocialWorkerDTO
     * @return
     */
    IPage<ComActSocialWorkerVO> findByPage(Page page, @Param("pageComActSocialWorkerDTO") PageComActSocialWorkerDTO pageComActSocialWorkerDTO);
 
    /**
     * 导出
     * @param comActSocialWorkerDO
     * @return
     */
    List<ComActSocialWorkerExcelVO> queryAll(ComActSocialExportVO comActSocialWorkerDO);
 
    /**
     * 查询社工人数
     * @param type
     * @return
     */
    Integer selectType(@Param("type") Integer type,@Param("communityId")Long communityId);
 
    /**
     * 社工技能分布查询
     * @return
     */
    List<BigScreenHmkProjectTypeInfo> selectSkillType(Long communityId);
 
    /**
     * 活动社工查询
     * @param page
     * @param id
     * @return
     */
    IPage<ComActSocialWorkerVO> selectActivity(Page page,@Param("id") Long id);
 
    /**
     * 查询社工详情
     * @param id
     * @return
     */
    ComActSocialWorkerVO selectOneById(Long id);
 
    /**
     * 根据技能id查询社工列表
     * @param id
     * @return
     */
    List<ComActSocialWorker> selectIncludeSkillWorkerList(@Param("id") Long id);
}