mybatis plus in的写法
if(userIdList!=null&&userIdList.size()>0){ queryWrapper.lambda().in(QingJia::getQingJiaRenId,userIdList); }
@ApiOperation("in") @GetMapping("/get") public ResponseEntity get() { QueryWrapper<QingJia> queryWrapper = new QueryWrapper<>(); List<Integer> arr = new ArrayList<>(); arr .add(519); queryWrapper.lambda().in(QingJia::getQingJiaRenId,arr); val list= qingJiaService.list(queryWrapper); return new ResponseEntity(list,HttpStatus.OK); }