| | |
| | | |
| | | import com.ruoyi.domain.ZfEvent; |
| | | import com.ruoyi.domain.dto.zfEventdto; |
| | | import com.ruoyi.domain.peopleSea; |
| | | import com.ruoyi.domain.PeopleSea; |
| | | import com.ruoyi.service.PeopleSearchService; |
| | | import com.ruoyi.service.ZfEventService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | private ZfEventService zfEventService; |
| | | |
| | | |
| | | private LambdaQueryWrapper<peopleSea> buildCondition(peopleSea peops) { |
| | | private LambdaQueryWrapper<PeopleSea> buildCondition(PeopleSea peops) { |
| | | |
| | | return null; |
| | | // if(peops.getModule().equals("事纪")) { |
| | |
| | | |
| | | @Override |
| | | |
| | | public AjaxResult selectDataList(peopleSea peopleS, Integer pageNum, Integer pageSize) { |
| | | public AjaxResult selectDataList(PeopleSea peopleS, Integer pageNum, Integer pageSize) { |
| | | |
| | | System.out.println(peopleS.getModules().toString()); |
| | | for(String thi: peopleS.getModules()) { |
| | |
| | | lqw.like(ZfEvent::getPeople, pe); |
| | | } |
| | | lqw.between(peopleS.getStartTime() != null && peopleS.getEndTime() != null, ZfEvent::getHappenTime, peopleS.getStartTime(), peopleS.getEndTime()); |
| | | if(peopleS.getHasAttachment().equals("是")) |
| | | { |
| | | lqw.isNotNull(ZfEvent::getUrl); |
| | | } |
| | | |
| | | |
| | | Page<ZfEvent> zfEventPage = new Page<>(pageNum, pageSize); |
| | | Page<ZfEvent> pageResult = zfEventService.page(zfEventPage, lqw); |