| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | |
| | | public ResponseEntity<ReturnDataDTO<Page<OrderPlatformListDTO>>> selectOrderList(Page page, OrderQueryDTO dto){ |
| | | return returnData(R.SUCCESS.getCode(), orderService.selectOrderPlatformList(page, dto)); |
| | | } |
| | | |
| | | @GetMapping("/list/view") |
| | | @ApiOperation(value = "订单详情") |
| | | @ApiImplicitParams({ |
| | |
| | | |
| | | @GetMapping("/list/abnormal/process") |
| | | @ApiOperation(value = "异常订单处理(不管有没有退款金额,建议都要处理)") |
| | | public ResponseEntity<ReturnDataDTO> processLevelDown(String id) { |
| | | public ResponseEntity<ReturnDataDTO> processLevelDown(String id) throws Exception { |
| | | orderService.processAbnormalOrder(id); |
| | | return returnData(R.SUCCESS.getCode(), null); |
| | | } |
| | |
| | | return returnData(R.SUCCESS.getCode(),null); |
| | | } |
| | | |
| | | @GetMapping("/list/export") |
| | | @ApiOperation(value = "订单导出") |
| | | public void exportOrderDetail(HttpServletResponse response, OrderQueryDTO queryOrderDTO) { |
| | | orderService.exportOrderDetail(response, queryOrderDTO); |
| | | } |
| | | } |