从"Blog"仓库中分离出来
This commit is contained in:
31
src/main/java/cn/celess/blog/mapper/WebUpdateInfoMapper.java
Normal file
31
src/main/java/cn/celess/blog/mapper/WebUpdateInfoMapper.java
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user