| | |
| | | |
| | | @ApiOperation(value = "确认接受",tags = "处置人员") |
| | | @PostMapping("/end/down/collect/confirm") |
| | | public R tanscollecttotal4(String boxNum) { |
| | | public R tanscollecttotal4(@RequestParam BoxListDto boxListDto) { |
| | | SysUser sysUser = SecurityUtils.getLoginUser().getUser(); |
| | | SysDepartment byId = departmentService.getById(sysUser.getDepartmentId()); |
| | | //将record变为已接受 |
| | | List<MwCollectRecord> list = collectRecordService.lambdaQuery().eq(MwCollectRecord::getStatus,2).eq(MwCollectRecord::getBoxNumber, boxNum).list(); |
| | | List<MwCollectRecord> list = collectRecordService.lambdaQuery().eq(MwCollectRecord::getStatus,2).eq(MwCollectRecord::getBoxNumber, boxListDto.getBoxNum()).list(); |
| | | Set<String> boxes = new HashSet<>(); |
| | | BigDecimal receiveQuantity = BigDecimal.ZERO; |
| | | for (MwCollectRecord mwCollectRecord : list) { |