package ${package.ServiceImpl};

import ${package.Entity}.${entity};
import ${package.Mapper}.${table.mapperName};
import com.dk.common.service.BaseService;
import com.dk.common.mapper.BaseMapper;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ${table.serviceImplName} extends BaseService<${entity}> {

	@Override
	public BaseMapper<${entity}> getRepository() {
		return ${table.entityPath}Mapper;
	}

	@Autowired
	private ${table.mapperName} ${table.entityPath}Mapper;

}
