DracChannelCodeFollowStaffMapper.java
1.06 KB
package cn.com.glsx.entmicro.mapper;
import cn.com.glsx.entmicro.entity.DracChannelCodeFollowStaff;
import cn.com.glsx.entmicro.model.response.DracChannelCodeFollowStaffResponse;
import com.glsx.plat.mybatis.mapper.CommonBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Set;
@Mapper
public interface DracChannelCodeFollowStaffMapper extends CommonBaseMapper<DracChannelCodeFollowStaff> {
/**
* 通过codeId查询
*/
List<DracChannelCodeFollowStaff> findByCodeId(@Param("codeId") Integer codeId,
@Param("staffId") List<Integer> staffId);
/**
* 删除单个关联
*
*/
void deleteDracChannelCodeFollowStaff(@Param("id") Integer id);
/**
* 删除本地活码关联员工信息
*/
void deleteByCodeId(@Param("codeId") Integer codeId);
/**
* codeId查关联员工
*/
List<DracChannelCodeFollowStaffResponse> findStaffByCodeId(@Param("codeId") Set<Integer> codeId);
}