Files
blog-backEnd/src/main/java/cn/celess/blog/mapper/WebUpdateInfoMapper.java
2019-11-28 19:18:16 +08:00

32 lines
611 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package cn.celess.blog.mapper;
import cn.celess.blog.entity.WebUpdate;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.Date;
import java.util.List;
/**
* @Author: 小海
* @Date 2019/07/03 00:24
* @Description
*/
@Mapper
@Repository
public interface WebUpdateInfoMapper {
int insert(WebUpdate webUpdate);
int delete(long id);
int update(long id, String info);
boolean existsById(long id);
WebUpdate findById(long id);
List<WebUpdate> findAll();
Date getLastestOne();
}