From 0e5aaeba97021c289485a652ec6af0bb37f92af7 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Tue, 30 Nov 2021 20:29:46 +0800
Subject: [PATCH] fix 40 to 50

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

diff --git a/gc-shop/src/main/resources/mapper/shop/JhyOrderItemsMapper.xml b/gc-shop/src/main/resources/mapper/shop/JhyOrderItemsMapper.xml
index 422caad..6a075a8 100644
--- a/gc-shop/src/main/resources/mapper/shop/JhyOrderItemsMapper.xml
+++ b/gc-shop/src/main/resources/mapper/shop/JhyOrderItemsMapper.xml
@@ -15,6 +15,8 @@
             a.*
              ,IFNULL(case when d.item_unit = '台' then a.weight
                           else 0 end, 0) recycleTai
+             ,IFNULL(case when d.item_unit = 'kg' then a.weight
+                          else 0 end, 0) recycleKg
         FROM
             xzx_jhy_order_items a
                 left join xzx_sys_environmental_info d on a.item_type = d.id

--
Gitblit v1.9.1