public interface Repository2<E,ID> extends Repository<E,ID>
boolean has(ID id)
long count()
void add(E entity)
add 在接口中 Repository<E,ID>void update(E entity)
update 在接口中 Repository<E,ID>void removeById(ID id)
removeById 在接口中 Repository<E,ID>Copyright © 2021. All rights reserved.