From 11f85fe70c469c74c046843bd4f055726267e3ee Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 28 Jun 2021 22:38:57 +0800 Subject: [PATCH] modify --- gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml b/gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml index f129dc7..c29fbfb 100644 --- a/gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml +++ b/gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml @@ -14,7 +14,7 @@ a.remark remark, b.nick_name name, b.mobile_phone mobilePhone, - (select ifnull(sum(price),0) from xzx_jhy_order_items where order_id = a.id) totalPrice, + (select ifnull(sum(price*weight*40),0) from xzx_jhy_order_items where order_id = a.id) totalPrice, d.username username FROM xzx_jhy_order a -- Gitblit v1.9.1