| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | |
| | | @ApiOperation(value = "查询订单清单列表-按库位分商品") |
| | | public ResponseEntity<ReturnDataDTO<List<OrderCheckLocationListDTO>>> selectOrderCheckLocationList( |
| | | @RequestBody OrderQueryDTO dto){ |
| | | Partner partner = orderService.getCurrentPartner(); |
| | | dto.setPartnerId(partner.getId()); |
| | | return returnData(R.SUCCESS.getCode(), orderService.selectOrderCheckLocationList(dto)); |
| | | } |
| | | |
| | | @GetMapping("/list/export") |
| | | @ApiOperation(value = "合伙人订单导出") |
| | | public void exportPartnerOrderList(HttpServletResponse response, OrderQueryDTO queryOrderDTO) { |
| | | orderService.exportPartnerOrderList(response, queryOrderDTO); |
| | | } |
| | | } |