| | |
| | | ApproveProcessVO approveProcessVO = new ApproveProcessVO(); |
| | | approveProcessVO.setApproveType(7); |
| | | approveProcessVO.setApproveDeptId(loginUser.getCurrentDeptId()); |
| | | approveProcessVO.setApproveReason(sh); |
| | | approveProcessVO.setApproveReason(sh);//发货编号 |
| | | approveProcessVO.setApproveUserIds(req.getApproveUserIds()); |
| | | approveProcessVO.setApproveUser(loginUser.getUserId()); |
| | | approveProcessVO.setApproveTime(LocalDate.now().toString()); |
| | |
| | | |
| | | |
| | | @GetMapping("/getByCustomerName") |
| | | @Operation(summary = "通过客户名称查询") |
| | | @Operation(summary = "通过客户名称查询关联的发货单号") |
| | | public AjaxResult getByCustomerName(String customerName) { |
| | | return AjaxResult.success(shippingInfoService.getShippingInfoByCustomerName(customerName)); |
| | | } |
| | | |
| | | @GetMapping("/getDateil/{id}") |
| | | @Operation(summary = "通过id查询详情") |
| | | public R getDateil(@PathVariable("id") Long id) { |
| | | return R.ok(shippingInfoService.getDetail(id)); |
| | | } |
| | | |
| | | @GetMapping("/getDateilByShippingNo") |
| | | @Operation(summary = "通过发货单号查询详情") |
| | | public R getDateilByShippingNo(String shippingNo) { |
| | | return R.ok(shippingInfoService.getDateilByShippingNo(shippingNo)); |
| | | } |
| | | } |