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