Files
love-nav/src/main/java/com/lovenav/dao/BannersDao.java
2023-12-23 15:34:05 +08:00

25 lines
530 B
Java

package com.lovenav.dao;
import com.lovenav.entity.Banners;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
@Mapper
public interface BannersDao {
int deleteByPrimaryKey(Integer id);
int insert(Banners record);
int insertSelective(Banners record);
Banners selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(Banners record);
int updateByPrimaryKey(Banners record);
List<Banners> selectAllBanners();
}