| | |
| | | @GetMapping("/getList") |
| | | public R unionExchangeRecordGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "communityId",required = false) String communityId) |
| | | @RequestParam(value = "communityId",required = false) String communityId, |
| | | @RequestParam(value = "orderType",required = false) String orderType) |
| | | { |
| | | return unionStoreService.unionExchangeRecordGetList(pageNum,pageSize,communityId); |
| | | return unionStoreService.unionExchangeRecordGetList(pageNum,pageSize,communityId,orderType); |
| | | } |
| | | |
| | | @ApiOperation(value = "兑换记录单个详情",response = UnionExchangeRecordDto.class) |
| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "添加物流公司") |
| | | @ApiOperation(value = "已收货") |
| | | @PostMapping("/confirmOrder") |
| | | public R unionExchangeRecordConfirmOrder(@RequestBody UnionExchangeRecordDto item) |
| | | { |
| | |
| | | { |
| | | return R.fail("订单id不能为空"); |
| | | } |
| | | item.setOrderType("3"); |
| | | item.setOrderType("4"); |
| | | return unionStoreService.unionExchangeRecordUpdate(item); |
| | | } |
| | | |