All Downloads are FREE. Search and download functionalities are using the official Maven repository.

miaogithub.yt_mybatis.2.1.source-code.ServiceImpl.vm Maven / Gradle / Ivy

package ${modulePackage}.service.impl;

import com.github.yt.mybatis.service.impl.ServiceSupport;
import ${modulePackage}.dao.${replaceSuffixClassName}Mapper;
import ${modulePackage}.domain.${className};
import ${modulePackage}.service.${replaceSuffixClassName}Service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("${replaceSuffixLowerName}Service")
public class ${replaceSuffixClassName}ServiceImpl extends ServiceSupport<${className}, ${replaceSuffixClassName}Mapper> implements ${replaceSuffixClassName}Service {

	@Autowired
    private ${replaceSuffixClassName}Mapper ${replaceSuffixLowerName}Mapper;

    @Override
	public ${replaceSuffixClassName}Mapper getMapper() {
		return ${replaceSuffixLowerName}Mapper;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy