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.VolunteerCreditsExchangeVO;
|
import com.panzhihua.common.model.vos.community.VolunteerTypeVO;
|
import com.panzhihua.service_community.entity.VolunteerCreditsExchange;
|
import com.panzhihua.service_community.entity.VolunteerType;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
@Mapper
|
public interface VolunteerCreditsExchangeDao extends BaseMapper<VolunteerCreditsExchange>
|
{
|
/**
|
* 分页查询
|
* @param
|
* @return
|
*/
|
IPage<VolunteerCreditsExchange> getList(Page page,
|
@Param("goodsId") String goodsId,
|
@Param("orderNumber") String orderNumber,
|
@Param("goodsName") String goodsName,
|
@Param("condition") String condition,
|
@Param("userName") String userName,
|
@Param("communityId") String communityId,
|
@Param("userId") String userId,
|
@Param("orderType") String orderType,
|
@Param("merchantId") String merchantId
|
);
|
|
/**
|
* 查询详情
|
* @param id
|
* @return
|
*/
|
VolunteerCreditsExchange getData(@Param("id") String id);
|
|
/**
|
* 新增
|
* @param
|
* @return
|
*/
|
int insertData(@Param("item") VolunteerCreditsExchangeVO item);
|
|
/**
|
* 更新
|
* @param item
|
* @return
|
*/
|
int update(@Param("item") VolunteerCreditsExchangeVO item);
|
|
/**
|
* 删除
|
* @param id
|
* @return
|
*/
|
int delete(@Param("id") String id);
|
|
/**
|
* 核销
|
* @param id
|
* @return
|
*/
|
int conditionData(@Param("id") String id);
|
|
|
}
|