From 1a293a85cc5c97b10ce4635f38acb6a4ec35aa03 Mon Sep 17 00:00:00 2001 From: quantulr <35954003+quantulr@users.noreply.github.com> Date: Fri, 10 May 2024 16:40:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/misc.xml | 1 - .idea/workspace.xml | 15 +++++++++------ src/main/java/com/wisdo/mmining/api/OrderApi.java | 1 + .../WEB-INF/view/pages/order/order_list.jsp | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index d6eac2b..75e4e88 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,3 @@ - diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e172d23..01ca351 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,10 +5,10 @@ + - - + @@ -503,8 +505,8 @@ - @@ -598,7 +600,8 @@ - + + 1623736948713 diff --git a/src/main/java/com/wisdo/mmining/api/OrderApi.java b/src/main/java/com/wisdo/mmining/api/OrderApi.java index 7b4aae9..4409616 100644 --- a/src/main/java/com/wisdo/mmining/api/OrderApi.java +++ b/src/main/java/com/wisdo/mmining/api/OrderApi.java @@ -327,6 +327,7 @@ public class OrderApi { if (order.getStatus().equals(1) || order.getStatus().equals(2)) { order.setAddressId(addressId); order.setOrderAddress(address.getAddressProvince() + address.getAddressCity() + address.getAddressArea() + address.getAddressDetailed()); + orderService.updateById(order); return ResultUtil.success("地址修改成功"); } order.setPendingApprovalAddressId(addressId); diff --git a/src/main/webapp/WEB-INF/view/pages/order/order_list.jsp b/src/main/webapp/WEB-INF/view/pages/order/order_list.jsp index cac6db2..1cbe742 100644 --- a/src/main/webapp/WEB-INF/view/pages/order/order_list.jsp +++ b/src/main/webapp/WEB-INF/view/pages/order/order_list.jsp @@ -294,7 +294,7 @@ sort: true }, { - fixed: 'right', align: 'center', width: 320, title: '操作', templet: function (item) { + fixed: 'right', align: 'center', width: 360, title: '操作', templet: function (item) { if (item.status != 4 && item.orderPick == 2 && item.pendingApprovalAddressId) { return ''; } else if (item.status == 2 && item.orderPick == 2) {