|
|
@@ -6,6 +6,7 @@ import java.util.Arrays;
|
|
|
import com.zhongzheng.modules.order.bo.OrderAddBo;
|
|
|
import com.zhongzheng.modules.order.bo.OrderEditBo;
|
|
|
import com.zhongzheng.modules.order.bo.OrderQueryBo;
|
|
|
+import com.zhongzheng.modules.order.domain.Order;
|
|
|
import com.zhongzheng.modules.order.service.IOrderService;
|
|
|
import com.zhongzheng.modules.order.vo.OrderVo;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
@@ -55,6 +56,18 @@ public class OrderController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 查询订单列表
|
|
|
+ */
|
|
|
+ @ApiOperation("查询订单和商品列表")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:order:list')")
|
|
|
+ @GetMapping("/listAll")
|
|
|
+ public TableDataInfo<Order> listAll(OrderQueryBo bo) {
|
|
|
+ startPage();
|
|
|
+ List<Order> list = iOrderService.getOrderGoodsList(bo);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 导出订单列表
|
|
|
*/
|