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.
34 lines
616 B
34 lines
616 B
|
6 years ago
|
/**
|
||
|
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
||
|
|
*
|
||
|
|
* https://www.renren.io
|
||
|
|
*
|
||
|
|
* 版权所有,侵权必究!
|
||
|
|
*/
|
||
|
|
|
||
|
|
package com.epmet.service;
|
||
|
|
|
||
|
|
import com.epmet.dto.NewsDTO;
|
||
|
|
import com.epmet.commons.mybatis.service.BaseService;
|
||
|
|
import com.epmet.commons.tools.page.PageData;
|
||
|
|
import com.epmet.entity.NewsEntity;
|
||
|
|
|
||
|
|
import java.util.Map;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 新闻
|
||
|
|
*
|
||
|
|
* @author Mark sunlightcs@gmail.com
|
||
|
|
*/
|
||
|
|
public interface NewsService extends BaseService<NewsEntity> {
|
||
|
|
|
||
|
|
PageData<NewsDTO> page(Map<String, Object> params);
|
||
|
|
|
||
|
|
NewsDTO get(Long id);
|
||
|
|
|
||
|
|
void save(NewsDTO dto);
|
||
|
|
|
||
|
|
void update(NewsDTO dto);
|
||
|
|
}
|
||
|
|
|