| | |
| | | import com.mzl.flower.base.R; |
| | | import com.mzl.flower.base.ReturnDataDTO; |
| | | import com.mzl.flower.constant.Constants; |
| | | import com.mzl.flower.dto.request.payment.OrderAddressUpdateDTO; |
| | | import com.mzl.flower.dto.request.payment.OrderDeliveryNoDTO; |
| | | import com.mzl.flower.dto.request.payment.OrderQueryDTO; |
| | | import com.mzl.flower.dto.request.payment.OrderReduceDTO; |
| | | import com.mzl.flower.dto.response.payment.*; |
| | | import com.mzl.flower.service.payment.DeliveryOrderService; |
| | | import com.mzl.flower.service.payment.OrderService; |
| | |
| | | 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({ |
| | |
| | | return returnData(R.SUCCESS.getCode(), null); |
| | | } |
| | | |
| | | @PostMapping("/page/update") |
| | | @ApiOperation(value = "订单修改", notes = "订单修改") |
| | | public ResponseEntity<ReturnDataDTO> operationUpdate(@Validated @RequestBody OrderAddressUpdateDTO dto) { |
| | | orderService.operationUpdate(dto); |
| | | return returnData(R.SUCCESS.getCode(),null); |
| | | } |
| | | |
| | | @GetMapping("/list/export") |
| | | @ApiOperation(value = "订单导出") |
| | | public void exportOrderDetail(HttpServletResponse response, OrderQueryDTO queryOrderDTO) { |
| | | orderService.exportOrderDetail(response, queryOrderDTO); |
| | | } |
| | | } |