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

com.dream.template.mapper.SelectByIdMapper Maven / Gradle / Ivy

package com.dream.template.mapper;

import com.dream.system.config.Configuration;
import com.dream.system.core.session.Session;
import com.dream.system.table.TableInfo;
import com.dream.util.common.NonCollection;

import java.util.Collection;

public class SelectByIdMapper extends SelectMapper {
    public SelectByIdMapper(Session session) {
        super(session);
    }

    @Override
    protected String getOther(Configuration configuration, TableInfo tableInfo, Class type, Object arg) {
        return super.getIdWhere(tableInfo);
    }

    @Override
    protected Class getRowType() {
        return NonCollection.class;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy