From abf323cc9a96877ead8aa5e5caacff8c75e4d2e7 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 02 Jul 2021 11:23:42 +0800
Subject: [PATCH] 20210702 积分拨付

---
 gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml b/gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml
index 220d98e..91ee9e4 100644
--- a/gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml
+++ b/gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml
@@ -12,9 +12,9 @@
         a.reserve_time reserveTime,
         a.status status,
         a.remark remark,
-        b.nick_name name,
+        a.username name,
         b.mobile_phone mobilePhone,
-               (select ifnull(sum(price*weight*40),0) from xzx_jhy_order_items where order_id = a.id) totalPrice,
+               (select ifnull(sum(score),0) from xzx_jhy_order_items where order_id = a.id) totalPrice,
                 (select ifnull(sum(weight),0) from xzx_jhy_order_items where order_id = a.id) totalWeight,
         d.username username
         FROM

--
Gitblit v1.9.1