You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
335 B
19 lines
335 B
package com.stone.base;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import java.io.Serializable;
|
|
|
|
/**
|
|
* @author zichen
|
|
*/
|
|
public abstract class BaseController<E, ID extends Serializable> {
|
|
|
|
/**
|
|
* 获取service
|
|
* @return
|
|
*/
|
|
@Autowired
|
|
public abstract BaseService<E,ID> getService();
|
|
|
|
}
|
|
|