| | |
| | | |
| | | @Override |
| | | @Transactional |
| | | public R outbound(List<LocDto> locDtos) throws InterruptedException { |
| | | public R outbound(List<LocDto> locDtos,String endLocation) throws InterruptedException { |
| | | if (Cools.isEmpty(locDtos)) { |
| | | return R.parse(BaseRes.PARAM); |
| | | } |
| | |
| | | // ----------------------------------------------------------------------------------------------- |
| | | for (TaskDto taskDto : taskDtos) { |
| | | BasDevp staNo = basDevpService.checkSiteStatus(taskDto.getStaNo()); |
| | | workService.stockOut(staNo, taskDto, null); |
| | | workService.stockOut(staNo, taskDto, null, endLocation); |
| | | } |
| | | return R.ok("出库成功"); |
| | | } |