| | |
| | | } |
| | | @GetMapping("/consignerShoppingOrder") |
| | | @ApiOperation(value = "发货", tags = {"管理后台-兑换订单"}) |
| | | public AjaxResult consignerShoppingOrder(String id) { |
| | | public AjaxResult consignerShoppingOrder(String id,String companyName,String code) { |
| | | TExchangeOrder byId = exchangeOrderService.getById(id); |
| | | byId.setExpressCompany(companyName); |
| | | byId.setExpressNumber(code); |
| | | Long userid = tokenService.getLoginUser().getUserid(); |
| | | byId.setConsignerId(userid); |
| | | byId.setConsignerTime(LocalDateTime.now()); |
| | |
| | | */ |
| | | @GetMapping("/getCodeByOrderId/{goodsIds}") |
| | | public R<List<String>> getCodeByOrderId(@PathVariable("goodsIds") String goodsIds){ |
| | | String[] split = goodsIds.split("-"); |
| | | String[] split = goodsIds.split(","); |
| | | List<String> strings = new ArrayList<>(); |
| | | for (String s : split) { |
| | | if (s.contains("-")){ |