package com.thhy.staff.modules.biz.group.mapper;
|
|
import com.thhy.staff.modules.biz.depart.entity.GroupPullDownVo;
|
import com.thhy.staff.modules.biz.group.entity.Group;
|
import com.thhy.staff.modules.biz.group.entity.GroupListVo;
|
import com.thhy.staff.modules.biz.group.entity.GroupPlatUserVo;
|
import com.thhy.staff.modules.biz.group.entity.GroupUserDto;
|
import org.springframework.stereotype.Component;
|
import java.io.Serializable;
|
import java.util.HashMap;
|
import java.util.List;
|
|
/**
|
* Mapper 接口
|
* @author zhang_xiao_bo
|
* @since 2023-03-31 13:25:03
|
*/
|
@Component
|
public interface GroupMapper {
|
|
|
Group queryById(Serializable groupId);
|
|
Integer queryVersionById(Serializable groupId);
|
|
List<GroupListVo> findList(Group group);
|
|
GroupListVo queryGroupInfo(Group group);
|
|
List<GroupPlatUserVo> queryGroupUserList(GroupUserDto groupUserDto);
|
|
List<Group> findAll();
|
|
List<GroupPullDownVo> findPullByDepartId(String departId);
|
|
void insert(Group group);
|
|
void update(Group group);
|
|
void deletelogic(Serializable groupId);
|
|
void deleteById(Serializable groupId);
|
|
List<HashMap<String,Object>> queryGroupPull(String companyId);
|
}
|