package com.yd.dal.service.marketing.Impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yd.dal.entity.marketing.MktLeadsExpertAssign;
import com.yd.dal.mapper.marketing.MktLeadsExpertAssignMapper;
import com.yd.dal.service.marketing.MktLeadsExpertAssignDALService;

@Service("mktLeadsExpertAssignDALService")
public class MktLeadsExpertAssignDALServiceImpl implements MktLeadsExpertAssignDALService {

    @Resource
    private MktLeadsExpertAssignMapper mktLeadsExpertAssignMapper;

    @Override
    public MktLeadsExpertAssign findByLeadsExpertRequestId(Long mktLeadsExpertRequestId) {
        return mktLeadsExpertAssignMapper.selectByLeadsExpertRequestId(mktLeadsExpertRequestId);
    }

    @Override
    public int updateByPrimaryKeySelective(MktLeadsExpertAssign mktLeadsExpertAssign) {
        return mktLeadsExpertAssignMapper.updateByPrimaryKeySelective(mktLeadsExpertAssign);
    }

}
