diff --git a/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue b/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue index dd2e71cc..38256ec8 100644 --- a/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue +++ b/ant-design-vue-jeecg/src/views/shopping/pages/orderDetails.vue @@ -60,8 +60,8 @@

配送至

河南省

驻马店市 驿城区

-

黄淮学院南校区学府花园26号楼3602

-

463000

+

{{this.dingdandh.address}}

+

{{this.dingdandh.zipCode}}

已发货

您的订单已经发出。

尊享免费配送,您的物流单号:

diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUserController.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUserController.java index 038fd908..891ffef2 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUserController.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysUserController.java @@ -1558,7 +1558,6 @@ public class SysUserController { //这个是获取订单的数据中的商品数据 Grzx1 g1 = new Grzx1(); g1 = sysUserService.getallg2(id); - System.out.println(g1); return Result.ok(g1); } @@ -1568,11 +1567,10 @@ public class SysUserController { @RequestMapping(value = "/getdingdandh", method = RequestMethod.GET) public Result getdingdandh(@RequestParam(name="id",required=true) String id) { //这个是用于获取一个订单的全部信息 - ZyOrder zyo = sysUserService.getallzyo(id); - if(zyo==null) { - return Result.error("未找到对应数据"); - } - return Result.OK(zyo); + Grzx1 g1 = new Grzx1(); + g1 = sysUserService.getallg2(id); + System.out.println(g1); + return Result.OK(g1); } } diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml index 9c825720..ed12945b 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/mapper/xml/SysUserMapper.xml @@ -167,7 +167,7 @@ -SELECT og.id, zo.orders_num , zg.goods_name , zcs.style_names,zsm.model_number,og.goods_num,zf.name, -za.type_name,zg.default_picture,og.pay_total_price,og.unit_price,og.create_time,og.create_by +SELECT og.id, zo.orders_num , zg.goods_name , zcs.style_names,zsm.model_number,og.goods_num,zf.name,za.type_name,zg.default_picture,og.pay_total_price,og.unit_price,og.create_time,og.create_by , +zo.delivery_status , zo.city_id ,zo.address,zo.zip_code FROM zy_orders AS zo INNER JOIN order_goods AS og ON zo.id = og.orders_id LEFT JOIN zy_goods AS zg ON og.goods_id = zg.id