| | |
| | | |
| | | |
| | | @RestController |
| | | @RequestMapping("whiteList") |
| | | @RequestMapping("ffzf/whiteList") |
| | | @RequiredArgsConstructor |
| | | public class WhiteListController{ |
| | | |
| | |
| | | QueryWrapper<WhiteList> wrapper = new QueryWrapper<>(); |
| | | wrapper.lambda() |
| | | .orderByDesc(WhiteList::getId) |
| | | .eq(StringUtils.isNotBlank(carNo),WhiteList::getCarNo,carNo); |
| | | .like(StringUtils.isNotBlank(carNo),WhiteList::getCarNo,carNo); |
| | | Page<WhiteList> page1 = whiteListService.page(page, wrapper); |
| | | for (WhiteList record : page1.getRecords()) { |
| | | if(record.getParkId() != null){ |