Helius
2021-06-30 02b38bb7c08d68fffc6af25e4ba00a456d96e94e
gc-order/src/main/resources/mapper/order/JhyOrderItemsMapper.xml
@@ -3,6 +3,8 @@
<mapper namespace="com.xzx.gc.order.mapper.JhyOrderItemsMapper">
    <select id="selectOrderItems" resultType="com.xzx.gc.entity.JhyOrderItems">
        select * from xzx_jhy_order_items where order_id=#{orderId}
        select a.*, b.item_unit itemUnit from xzx_jhy_order_items a
        left join xzx_sys_environmental_info b on a.item_type=b.id
        where a.order_id=#{orderId}
    </select>
</mapper>