| | |
| | | @RequestParam Map<String, Object> param) { |
| | | EntityWrapper<OrderDetl> wrapper = new EntityWrapper<>(); |
| | | excludeTrash(param); |
| | | Object o = param.get("orderType"); |
| | | if (o != null) { |
| | | wrapper.in("source", o); |
| | | param.remove("orderType"); |
| | | } |
| | | convert(param, wrapper); |
| | | // List<DocType> pakins = docTypeService.selectList(new EntityWrapper<DocType>().eq("pakin", 1)); |
| | | // List<Long> docIds = new ArrayList<>(); |
| | |
| | | // docIds.add(pakin.getDocId()); |
| | | // } |
| | | // } |
| | | Object o = param.get("orderType"); |
| | | if (o != null) { |
| | | wrapper.in("source", o); |
| | | } |
| | | |
| | | return R.ok(orderDetlService.selectPage(new Page<>(curr, limit), wrapper)); |
| | | } |
| | | |