You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
672 B
Java

5 years ago
package com.jingcheng.cms.mapper;
import com.jingcheng.cms.model.Article;
import com.jingcheng.cms.util.CommonMapper;
5 years ago
import org.apache.ibatis.annotations.Param;
5 years ago
import org.springframework.stereotype.Repository;
5 years ago
import java.util.List;
5 years ago
@Repository
public interface ArticleMapper extends CommonMapper<Article> {
int addArticle(Article article);
5 years ago
5 years ago
List<Article> getArticleListByCondition(@Param("title") String title,
@Param("categoryName") String categoryName,
@Param("fileType") Integer fileType,
@Param("state") Integer state);
5 years ago
}