package com.panzhihua.service_community.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.common.model.vos.community.VolunteerMerchantVO;
|
import com.panzhihua.service_community.entity.VolunteerMerchant;
|
import org.apache.ibatis.annotations.Param;
|
|
public interface VolunteerMerchantService extends IService<VolunteerMerchant>
|
{
|
|
|
|
R getById(String id);
|
/**
|
* 分页查询
|
* @param
|
* @return
|
*/
|
R volunteerMerchantGetList(int pageNum,int pageSize,
|
String merchantState,
|
String merchantType,
|
String name,
|
String communityId);
|
/**
|
* 新增
|
* @param
|
* @return
|
*/
|
R insertVolunteerMerchant(VolunteerMerchantVO vtvo);
|
|
R updateVolunteerMerchant(VolunteerMerchantVO vtvo);
|
|
R deleteVolunteerMerchant(String id);
|
|
/**
|
* 判断是否是商家
|
* @param userId
|
* @return
|
*/
|
R isMerchant(@Param("userId") String userId);
|
/**
|
* 根据电话号码 或者姓名查询用户
|
* @param
|
* @return
|
*/
|
R getUser(String communityId,String userName,String userPhone);
|
|
}
|