| | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.utils.MapUtils; |
| | | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import com.ruoyi.domain.dto.zfEventdto; |
| | | import com.ruoyi.domain.peopleSea; |
| | |
| | | for (String pe : pes) { |
| | | lqw.like(ZfEvent::getPeople, pe); |
| | | } |
| | | peopleS.setIsHIde("否"); |
| | | lqw.eq(!StringUtils.isEmpty(peopleS.getIsHIde()), ZfEvent::getIsHide, "否"); |
| | | |
| | | lqw.between(peopleS.getStartTime() != null && peopleS.getEndTime() != null, ZfEvent::getHappenTime, peopleS.getStartTime(), peopleS.getEndTime()); |
| | | if(peopleS.getHasAttachment().equals("是")) |
| | | if(peopleS.getHasAttachment()!=null&&peopleS.getHasAttachment().equals("是")) |
| | | { |
| | | lqw.isNotNull(ZfEvent::getUrl); |
| | | System.out.println("not null!"); |
| | | lqw.isNotNull(ZfEvent::getUrl).and(r->r.apply("url!=''")); |
| | | }else |
| | | { |
| | | lqw.eq(!StringUtils.isEmpty(peopleS.getHasAttachment()), ZfEvent::getUrl, ""); |
| | | |
| | | } |
| | | |
| | | |
| | | // if(peopleS.getIsHIde()!=null) |
| | | Page<ZfEvent> zfEventPage = new Page<>(pageNum, pageSize); |
| | | Page<ZfEvent> pageResult = zfEventService.page(zfEventPage, lqw); |
| | | |