package com.panzhihua.service_community.service.impl;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.panzhihua.common.model.vos.R;
|
import com.panzhihua.common.model.vos.community.VolunteerIntegralMerchantVO;
|
import com.panzhihua.common.model.vos.community.VolunteerIntegralRecordVO;
|
import com.panzhihua.service_community.dao.VolunteerIntegralMerchantDao;
|
import com.panzhihua.service_community.dao.VolunteerIntegralRecordDao;
|
import com.panzhihua.service_community.entity.VolunteerIntegralMerchant;
|
import com.panzhihua.service_community.entity.VolunteerIntegralRecord;
|
import com.panzhihua.service_community.service.VolunteerIntegralMerchantService;
|
import com.panzhihua.service_community.service.VolunteerIntegralRecordService;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.stereotype.Service;
|
|
@Slf4j
|
@Service
|
public class VolunteerIntegralMerchantServiceImpl extends ServiceImpl<VolunteerIntegralMerchantDao,
|
VolunteerIntegralMerchant> implements VolunteerIntegralMerchantService
|
{
|
|
|
@Override
|
public VolunteerIntegralMerchant queryById(String id) {
|
return baseMapper.queryById(id);
|
}
|
|
@Override
|
public IPage<VolunteerIntegralMerchant> queryList(Page page, String name, String state) {
|
return baseMapper.queryList(page,name,state);
|
}
|
|
@Override
|
public int insertVolunteer(VolunteerIntegralMerchantVO vimVO) {
|
return baseMapper.insertVolunteer(vimVO);
|
}
|
|
@Override
|
public int updateById(VolunteerIntegralMerchantVO vimVO) {
|
return baseMapper.updateById(vimVO);
|
}
|
|
@Override
|
public int deleteById(String id) {
|
return baseMapper.deleteById(id);
|
}
|
}
|