| | |
| | | public List<ContractOutBound> export(ContractOutBound contractOutBound,Long[] ids) { |
| | | return contractOutBoundService.list(Wrappers.lambdaQuery(contractOutBound).in(ArrayUtil.isNotEmpty(ids), ContractOutBound::getId, ids)); |
| | | } |
| | | |
| | | /** |
| | | * 历史出库 |
| | | * @param contractId 分页对象 |
| | | * @return |
| | | */ |
| | | @GetMapping("/list/{contractId}" ) |
| | | public R getContractOutBoundPage(@PathVariable("contractId") Long contractId) { |
| | | return R.ok(contractOutBoundService.list(Wrappers.<ContractOutBound>lambdaQuery().eq(ContractOutBound::getContractId,contractId) |
| | | .orderByAsc(ContractOutBound::getCreateTime))); |
| | | } |
| | | |
| | | } |