lidongdong
2023-08-25 3c83f81b6889d024541e6c0b03be1d54c683502b
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/VolunteerActivityServiceImpl.java
@@ -10,6 +10,7 @@
import com.panzhihua.service_community.entity.VolunteerActivity;
import com.panzhihua.service_community.service.VolunteerActivityService;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
@@ -23,8 +24,8 @@
{
    @Override
    public VolunteerActivity queryById(String Id) {
        return baseMapper.queryById(Id);
    public VolunteerActivity queryById(String Id,String userId) {
        return baseMapper.queryById(Id,userId);
    }
    @Override
@@ -32,11 +33,12 @@
                                              String name,
                                              String acState,
                                              String acType,
                                              String userId,
                                              Date actityBeginTime,
                                              Date actityEndTime)
    {
        Page page = new Page<VolunteerActivity>(pageNum,pageSize);
        return baseMapper.queryList(page, name, acState, acType, actityBeginTime, actityEndTime);
        return baseMapper.queryList(page, name, acState, acType, userId, actityBeginTime, actityEndTime);
    }
    @Override