package com.panzhihua.service_community.service.impl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.panzhihua.common.model.vos.community.VolunteerCommunityDiscountVO;
|
import com.panzhihua.service_community.dao.VolunteerCommunityDiscountDao;
|
import com.panzhihua.service_community.entity.VolunteerCommunityDiscount;
|
import com.panzhihua.service_community.service.VolunteerCommunityDiscountService;
|
import lombok.extern.slf4j.Slf4j;
|
import org.springframework.stereotype.Service;
|
|
import java.util.List;
|
|
|
@Slf4j
|
@Service
|
public class VolunteerCommunityDiscountServiceImpl extends ServiceImpl<VolunteerCommunityDiscountDao,
|
VolunteerCommunityDiscount> implements VolunteerCommunityDiscountService
|
{
|
|
@Override
|
public List<VolunteerCommunityDiscount> getList(String communityId) {
|
return baseMapper.getList(communityId);
|
}
|
|
@Override
|
public int insert(VolunteerCommunityDiscountVO item) {
|
return baseMapper.insert(item);
|
}
|
|
@Override
|
public int update(VolunteerCommunityDiscountVO item) {
|
return baseMapper.update(item);
|
}
|
|
@Override
|
public int delete(String id) {
|
return baseMapper.delete(id);
|
}
|
}
|