lidongdong
2023-10-22 09d39731cd9bc659e021972f924d35533e5cac72
springcloud_k8s_panzhihuazhihuishequ/service_jinhui_community/src/main/java/com/panzhihua/service_jinhui_community/service/impl/JinhuiExperienceActivityServiceImpl.java
@@ -8,7 +8,10 @@
import com.panzhihua.service_jinhui_community.entity.JinhuiExperienceActivity;
import com.panzhihua.service_jinhui_community.service.JinhuiExperienceActivityService;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import java.util.Date;
@Slf4j
@@ -18,12 +21,13 @@
{
    @Override
    public R getList(int pageNum,int pageSize,String goodName, String goodType, String id)
    public R getList(int pageNum,int pageSize,String activityName,String activityType, Date starTime,Date endTime)
    {
        Page page = new Page<JinhuiExperienceActivity>(pageNum,pageSize);
        return R.ok(baseMapper.getList(page,goodName,goodType,id));
        return R.ok(baseMapper.getList(page,activityName,activityType,starTime,endTime));
    }
    @Override
    public JinhuiExperienceActivity getDetails(String id) {
        return baseMapper.getDetails(id);