package com.yd.csf.service.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.yd.csf.service.model.AgentTutoringRelation;
import com.yd.csf.service.dao.AgentTutoringRelationMapper;
import com.yd.csf.service.service.IAgentTutoringRelationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 辅导关系表 服务实现类
 * </p>
 *
 * @author zxm
 * @since 2025-10-15
 */
@Service
public class AgentTutoringRelationServiceImpl extends ServiceImpl<AgentTutoringRelationMapper, AgentTutoringRelation> implements IAgentTutoringRelationService {

    @Override
    public Boolean del(String agentId) {
        return this.remove(new LambdaQueryWrapper<AgentTutoringRelation>()
                .eq(AgentTutoringRelation::getAgentId,agentId));
    }

}
