|
|
@@ -73,7 +73,7 @@ public class NewsService extends BaseMybatisDao<NewsMapper> {
|
|
|
public Pagination<News> listNews(Integer type, String title, String author, String startCreateTime,
|
|
|
String endCreateTime, String source, Integer hot, Integer pNo, Integer pSize) {
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
|
- if (null == type) {
|
|
|
+ if (null != type) {
|
|
|
params.put("type", type);
|
|
|
}
|
|
|
|