package com.cftech.workshop.details.service.impl;

import com.cftech.workshop.details.model.Details;
import com.cftech.workshop.details.dao.DetailsMapper;
import com.cftech.workshop.details.service.DetailsService;
import com.cftech.core.generic.GenericDao;
import com.cftech.core.generic.GenericServiceImpl;
import com.cftech.core.sql.Conds;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * ServiceImpl
 *
 * @author byj
 * @date: 2018-07-06 10:27
 */
@Service("detailsService")
public class DetailsServiceImpl extends GenericServiceImpl<Details> implements DetailsService {

    @Autowired
    @Qualifier("detailsMapper")
    private DetailsMapper detailsMapper;

    @Override
    public GenericDao<Details> getGenericMapper() {
        return detailsMapper;
    }

}