整合提交
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
|
||||
package com.weather.common.service;
|
||||
|
||||
import com.weather.common.page.PageData;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* CRUD基础服务接口
|
||||
*
|
||||
* @author 123
|
||||
*/
|
||||
public interface CrudService<T, D> extends BaseService<T> {
|
||||
|
||||
PageData<D> page(Map<String, Object> params);
|
||||
|
||||
List<D> list(Map<String, Object> params);
|
||||
|
||||
D get(Long id);
|
||||
|
||||
void save(D dto);
|
||||
|
||||
void update(D dto);
|
||||
|
||||
void delete(Long[] ids);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user