| | |
| | | import com.mzl.flower.base.ReturnDataDTO; |
| | | import com.mzl.flower.dto.request.payment.OrderQueryDTO; |
| | | import com.mzl.flower.dto.response.partner.PartnerOrderDTO; |
| | | import com.mzl.flower.dto.response.payment.OrderCheckListDTO; |
| | | import com.mzl.flower.dto.response.payment.OrderDTO; |
| | | import com.mzl.flower.dto.response.payment.OrderItemListDTO; |
| | | import com.mzl.flower.dto.response.payment.OrderListDTO; |
| | | import com.mzl.flower.dto.response.payment.*; |
| | | import com.mzl.flower.entity.partner.Partner; |
| | | import com.mzl.flower.service.payment.OrderService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | |
| | | dto.setPartnerId(partner.getId()); |
| | | return returnData(R.SUCCESS.getCode(), orderService.selectOrderCheckList(dto)); |
| | | } |
| | | |
| | | @PostMapping("/check/location/list") |
| | | @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); |
| | | } |
| | | } |