| | |
| | | } |
| | | @Resource |
| | | private SysUserClient sysUserClient; |
| | | @PostMapping("/getShoppingOrderInfoById") |
| | | @GetMapping("/getShoppingOrderInfoById") |
| | | @ApiOperation(value = "根据订单id查看订单详情", tags = {"管理后台-购物订单"}) |
| | | public AjaxResult<TShoppingOrder> getShoppingOrderList(String id) { |
| | | TShoppingOrder byId = shoppingOrderService.getById(id); |
| | |
| | | } |
| | | @GetMapping("/consignerShoppingOrder") |
| | | @ApiOperation(value = "发货", tags = {"管理后台-购物订单"}) |
| | | public AjaxResult consignerShoppingOrder(String id) { |
| | | public AjaxResult consignerShoppingOrder(String id,String companyName,String code) { |
| | | TShoppingOrder byId = shoppingOrderService.getById(id); |
| | | byId.setExpressCompany(companyName); |
| | | byId.setExpressNumber(code); |
| | | Long userid = tokenService.getLoginUser().getUserid(); |
| | | byId.setConsignerId(userid); |
| | | byId.setConsignerTime(LocalDateTime.now()); |