|
|
@@ -261,9 +261,21 @@ public class TsaOrderController extends TsaBaseController {
|
|
|
*/
|
|
|
@PostMapping("/seller/unorder/list")
|
|
|
@ResponseBody
|
|
|
- public Collection<Order> getOrderSellerUnorderList(@RequestBody Order order) throws Exception {
|
|
|
+ public GagaMap getOrderSellerUnorderList(@RequestBody Order order) throws Exception {
|
|
|
+ GagaMap result = new GagaMap();
|
|
|
+
|
|
|
+ order.setPageable(new TscPageRequest(0, 10000));
|
|
|
+
|
|
|
+ // 주문전체건수 조회
|
|
|
+ int totalCount = orderService.getOrderSellerUnorderListCount(order);
|
|
|
+ order.getPageable().setTotalCount(totalCount);
|
|
|
+
|
|
|
Collection<Order> orderList = orderService.getOrderSellerUnorderList(order);
|
|
|
- return orderList;
|
|
|
+
|
|
|
+ result.set("pageing" , order);
|
|
|
+ result.set("orderList" , orderList);
|
|
|
+
|
|
|
+ return result;
|
|
|
}
|
|
|
|
|
|
/**
|