| | |
| | | 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 |
| | |
| | | { |
| | | |
| | | @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); |