package com.landtool.lanbase.modules.sys.service;
|
|
import com.landtool.lanbase.modules.sys.entity.PubNews;
|
import com.landtool.lanbase.modules.sys.entity.PubNewsApi;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* @author zimao.guo
|
* @Description: TODO(${comments})
|
* @date 2018-04-17 15:04:58
|
*/
|
public interface PubNewsService {
|
|
PubNews queryObject(Integer newsid);
|
|
List<PubNews> queryList(Map<String, Object> map);
|
|
int queryTotal(Map<String, Object> map);
|
|
void save(PubNews pubNews);
|
|
void update(PubNews pubNews);
|
|
void delete(Integer newsid);
|
|
void deleteBatch(Integer[] newsids);
|
|
int queryPubNewsWithSEQ();
|
|
List<PubNewsApi> queryTopList(Integer num);
|
|
List<PubNews> queryAllList(PubNews pubNews);
|
}
|