|
@@ -18,10 +18,7 @@ import com.zhongzheng.modules.goods.vo.QuestionOpenImportVo;
|
|
|
import com.zhongzheng.modules.order.bo.*;
|
|
|
import com.zhongzheng.modules.order.service.IOrderGoodsService;
|
|
|
import com.zhongzheng.modules.order.service.IOrderService;
|
|
|
-import com.zhongzheng.modules.order.vo.MailOrderVo;
|
|
|
-import com.zhongzheng.modules.order.vo.OrderGoodsVo;
|
|
|
-import com.zhongzheng.modules.order.vo.OrderListVo;
|
|
|
-import com.zhongzheng.modules.order.vo.OrderVo;
|
|
|
+import com.zhongzheng.modules.order.vo.*;
|
|
|
import com.zhongzheng.modules.system.bo.SysTenantEditBo;
|
|
|
import com.zhongzheng.modules.system.domain.SysTenant;
|
|
|
import com.zhongzheng.modules.system.service.ISysTenantService;
|
|
@@ -80,6 +77,14 @@ public class OrderController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("导出订单列表")
|
|
|
+ @GetMapping("/exportList")
|
|
|
+ public AjaxResult<OrderListExportVo> exportList(OrderQueryBo bo) {
|
|
|
+ List<OrderListExportVo> list = iOrderService.selectExportList(bo);
|
|
|
+ ExcelUtil<OrderListExportVo> util = new ExcelUtil<>(OrderListExportVo.class);
|
|
|
+ return util.exportExcel(list,"线上订单记录");
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 查询订单列表
|
|
|
*/
|