| | |
| | | */ |
| | | @ApiOperation(value = "添加镜架出库,入库,作废,退货") |
| | | @PostMapping(value = "/outBound") |
| | | public ApiResult<String> outBound(@Validated @RequestBody TWarehousingDTO dto) { |
| | | public ApiResult<Integer> outBound(@Validated @RequestBody TWarehousingDTO dto) { |
| | | // 获取当前用户 |
| | | String username = JwtTokenUtils.getUsername(); |
| | | dto.setCreateBy(username); |
| | |
| | | detail.setCode(WarehousingConstant.OUT_BOUND+CodeGenerateUtils.generateVolumeSn()); |
| | | }); |
| | | frameWarehousingDetailService.saveBatch(frameWarehousingDetails); |
| | | return ApiResult.success(); |
| | | return ApiResult.success(dto.getId()); |
| | | } |
| | | /** |
| | | * 添加镜片出库,入库,作废,退货 |