mirror of
https://github.com/leion8310/SpringBoot-Shiro-Vue.git
synced 2026-10-21 22:53:45 +00:00
文章模块,方便举例说明
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
package com.heeexy.example.dao;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author: hxy
|
||||
* @description: 文章Dao层
|
||||
* @date: 2017/10/24 16:06
|
||||
*/
|
||||
public interface ArticleDao {
|
||||
/**
|
||||
* 新增文章
|
||||
*
|
||||
* @param jsonObject
|
||||
* @return
|
||||
*/
|
||||
int addArticle(JSONObject jsonObject);
|
||||
|
||||
/**
|
||||
* 统计文章总数
|
||||
*
|
||||
* @param jsonObject
|
||||
* @return
|
||||
*/
|
||||
int countArticle(JSONObject jsonObject);
|
||||
|
||||
/**
|
||||
* 文章列表
|
||||
*
|
||||
* @param jsonObject
|
||||
* @return
|
||||
*/
|
||||
List<JSONObject> listArticle(JSONObject jsonObject);
|
||||
|
||||
/**
|
||||
* 更新文章
|
||||
*
|
||||
* @param jsonObject
|
||||
* @return
|
||||
*/
|
||||
int updateArticle(JSONObject jsonObject);
|
||||
}
|
||||
Reference in New Issue
Block a user