package com.panzhihua.service_community.dao;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.panzhihua.common.model.vos.community.VolunteerActivityVO;
|
import com.panzhihua.common.model.vos.community.VolunteerIntegralRecordVO;
|
import com.panzhihua.service_community.entity.VolunteerActivity;
|
import com.panzhihua.service_community.entity.VolunteerIntegralRecord;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.Date;
|
import java.util.List;
|
|
@Mapper
|
public interface VolunteerIntegralRecordDao extends BaseMapper<VolunteerIntegralRecord>
|
{
|
|
/**
|
* 获取单个详情
|
* @param id
|
* @return
|
*/
|
VolunteerIntegralRecord getId(@Param("id") String id);
|
|
/**
|
* 分页查询
|
* @param
|
* @return
|
*/
|
IPage<VolunteerIntegralRecord> getList(Page page,
|
@Param("userId") String userId,
|
@Param("communityId") String communityId);
|
|
/**
|
* 新增
|
* @param
|
* @return
|
*/
|
int insertVolunteer(@Param("volunteerIntegralRecordVO") VolunteerIntegralRecordVO volunteerIntegralRecordVO);
|
|
|
int updateId(@Param("volunteerIntegralRecordVO") VolunteerIntegralRecordVO volunteerIntegralRecordVO);
|
|
|
int deleteId(@Param("id") String id);
|
|
}
|