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.VolunteerIntegralMerchantVO;
|
import com.panzhihua.service_community.entity.VolunteerIntegralMerchant;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
@Mapper
|
public interface VolunteerIntegralMerchantDao extends BaseMapper<VolunteerIntegralMerchant>
|
{
|
|
/**
|
* 获取单个详情
|
* @param id
|
* @return
|
*/
|
VolunteerIntegralMerchant queryById(@Param("id") String id);
|
|
/**
|
* 分页查询
|
* @param
|
* @return
|
*/
|
IPage<VolunteerIntegralMerchant> queryList(Page page,
|
@Param("name") String name,
|
@Param("state") String state,
|
@Param("goodType") String goodType,
|
@Param("merchantId") String merchantId);
|
|
|
/**
|
* 新增
|
* @param
|
* @return
|
*/
|
int insertVolunteer(@Param("vimVO") VolunteerIntegralMerchantVO vimVO);
|
|
|
int updateById(@Param("vimVO") VolunteerIntegralMerchantVO vimVO);
|
|
|
int deleteById(@Param("id") String id);
|
|
int getNum(@Param("merchantId") String merchantId);
|
|
|
}
|