Blame view

GroupMemberMappingMapper.java 658 Bytes
涂亚平 committed
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
package com.subsidy.mapper;

import com.subsidy.model.GroupMemberMappingDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.vo.labor.AllGroupsVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 群组人员映射表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2024-07-23
 */
@Repository
public interface GroupMemberMappingMapper extends BaseMapper<GroupMemberMappingDO> {

    /**
     * 查群组父节点的名称和人数
     */
    AllGroupsVO parentCnt(Long laborId);

    /**
     * 查群组子节点的名称和人数
     */
    List<AllGroupsVO> childCnt(Long laborId);
}