xiaoyong931011
2021-07-14 8d08ca6bdfc3dd61b0aaa7daa27308c3d59f0df1
gc-shop/src/main/resources/mapper/shop/JhyOrderMapper.xml
@@ -14,6 +14,7 @@
        a.remark remark,
        a.username name,
        b.mobile_phone mobilePhone,
        d.mobile jhyMobilePhone,
               (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