PainDao.java
392 Bytes
package com.pipihelper.project.feishu.dao;
import com.pipihelper.project.feishu.entity.Pain;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface PainDao {
Pain findById(Integer id);
Pain findByOpenId(String openId);
void deleteById(Integer id);
void create(Pain pain);
void update(Pain pain);
List<Pain> findAll();
}