package com.tzld.piaoquan.api.dao.mapper.wecom.thirdpart.ext;

import com.tzld.piaoquan.api.model.param.wecom.thirdpart.ThirdPartyAccountListParam;
import com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComStaff;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ThirdPartWeComStaffMapperExt {

    int getAccountCount(@Param("param") ThirdPartyAccountListParam param);

    List<ThirdPartWeComStaff> getAccountList(@Param("param") ThirdPartyAccountListParam param,
                                             @Param("offset") int offset, @Param("pageSize") Integer pageSize);

    List<ThirdPartWeComStaff> getPushStaffList(@Param("accountId") Long accountId,
                                               @Param("roomId") Long roomId,
                                               @Param("name") String name);

    List<Long> getStaffIdByName(@Param("name") String name);
}
