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

com.ly.mybatis.mapperservice.service.builder.RepositoryTemplate Maven / Gradle / Ivy

The newest version!
package com.ly.mybatis.mapperservice.service.builder;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.mybatis.mapperservice.service.core.*;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class RepositoryTemplate, Entity, Bo, Form, ConditionForm> implements Batch, Delete, Select {
    private Object[] interceptors;
    private Class mapperClass;
    private Class entityClass;
    private Class boClass;
    private Class
formClass; private Class conditionFormClass; private Mapper mapper; public RepositoryTemplate setInterceptors(Object[] interceptors) { this.interceptors = interceptors; return this; } public RepositoryTemplate setMapperClass(Class mapperClass) { this.mapperClass = mapperClass; return this; } public RepositoryTemplate setEntityClass(Class entityClass) { this.entityClass = entityClass; return this; } public RepositoryTemplate setBoClass(Class boClass) { this.boClass = boClass; return this; } public RepositoryTemplate setFormClass(Class formClass) { this.formClass = formClass; return this; } public RepositoryTemplate setConditionFormClass(Class conditionFormClass) { this.conditionFormClass = conditionFormClass; return this; } public RepositoryTemplate setBaseMapper(Mapper mapper) { this.mapper = mapper; return this; } @Override public Object[] getInterceptors() { return interceptors; } @Override public Class getMapperClass() { return mapperClass; } @Override public Class getEntityClass() { return entityClass; } @Override public Class getBoClass() { return boClass; } @Override public Class getFormClass() { return formClass; } @Override public Class getConditionFormClass() { return conditionFormClass; } @Override public Mapper getBaseMapper() { return mapper; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy