ganzi-api/inventory-dao/src/main/java/com/rzyc/mapper/NewsClassMapper.java

37 lines
998 B
Java
Raw Normal View History

2022-09-16 15:07:17 +08:00
package com.rzyc.mapper;
import com.rzyc.model.NewsClass;
import com.rzyc.model.NewsClassExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface NewsClassMapper {
long countByExample(NewsClassExample example);
int deleteByExample(NewsClassExample example);
int deleteByPrimaryKey(String newsclassid);
int insert(NewsClass record);
int insertSelective(NewsClass record);
List<NewsClass> selectByExample(NewsClassExample example);
NewsClass selectByPrimaryKey(String newsclassid);
int updateByExampleSelective(@Param("record") NewsClass record, @Param("example") NewsClassExample example);
int updateByExample(@Param("record") NewsClass record, @Param("example") NewsClassExample example);
int updateByPrimaryKeySelective(NewsClass record);
int updateByPrimaryKey(NewsClass record);
/*动态分类列表*/
List<NewsClass> findAll();
}