从"Blog"仓库中分离出来

This commit is contained in:
小海
2019-11-28 19:18:16 +08:00
commit 16cc30f513
119 changed files with 11291 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
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();
}