package com.cftech.common.commondept.service.impl;

import com.cftech.common.commondept.dao.CommonDepartmentMapper;
import com.cftech.common.commondept.model.CommonDepartment;
import com.cftech.common.commondept.service.CommonDepartmentService;
import com.cftech.core.generic.GenericDao;
import com.cftech.core.generic.GenericServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
* 通用申请单部门ServiceImpl
*
* @author faye
* @date: 2019-08-14 17:08
*/
@Service("commonDepartmentService")
public class CommonDepartmentServiceImpl extends GenericServiceImpl<CommonDepartment> implements CommonDepartmentService {

@Autowired
@Qualifier("commonDepartmentMapper")
private CommonDepartmentMapper commonDepartmentMapper;

@Override
public GenericDao<CommonDepartment> getGenericMapper() {
    return commonDepartmentMapper;
}

}