xiaoyong931011
2021-07-21 9748895b0eb4fef89e6cb238f1dbd92b8c7fe106
gc-order/src/main/resources/mapper/order/JhyOrderItemsMapper.xml
@@ -7,4 +7,10 @@
        left join xzx_sys_environmental_info b on a.item_type=b.id
        where a.order_id=#{orderId}
    </select>
    <select id="selectOrderScoreByOrderId" resultType="java.math.BigDecimal">
        select sum(score) from xzx_jhy_order_items
        where order_id=#{orderId}
        group by order_id
    </select>
</mapper>