xiaoyong931011
2021-07-07 d0c47393cbf57134bd539c7cc0804c9c4cddef85
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