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

com.obatis.core.common.ICommonService Maven / Gradle / Ivy

There is a newer version: 3.0.1-release
Show newest version
package com.obatis.core.common;

import com.obatis.core.exception.HandleException;

import java.math.BigInteger;

public interface ICommonService {

    /**
     * 根据ID删除数据
     * @param id
     * @return
     * @throws HandleException
     */
    int deleteById(BigInteger id) throws HandleException;

    /**
     * 根据ID查询实体数据
     * @param id
     * @return
     */
    T findById(BigInteger id);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy