Files
SpringBoot-Shiro-Vue/back/src/main/java/com/heeexy/example/dao/ArticleDao.java
T

45 lines
743 B
Java

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);
}