package com.cftech.mp.custservice.service.impl;

import com.cftech.core.generic.GenericDao;
import com.cftech.core.generic.GenericServiceImpl;
import com.cftech.mp.custservice.dao.MultiCustserviceMapper;
import com.cftech.mp.custservice.model.MultiCustservice;
import com.cftech.mp.custservice.service.MultiCustserviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * 微信多客服ServiceImpl
 *
 * @author strive
 * @date: 2017-04-19 16:15
 */
@Service("multiCustserviceService")
public class MultiCustserviceServiceImpl extends GenericServiceImpl<MultiCustservice> implements MultiCustserviceService {

    @Autowired
    @Qualifier("multiCustserviceMapper")
    private MultiCustserviceMapper multiCustserviceMapper;

    @Override
    public GenericDao<MultiCustservice> getGenericMapper() {
        return multiCustserviceMapper;
    }

    @Override
    public void byKf_accountDel(String kf_account) {
        multiCustserviceMapper.byKf_accountDel(kf_account);
    }
}