xiaoyong931011
2021-07-07 c772a1d7194910153e1eb3c678880c1b2226c319
gc-user/src/main/resources/mapper/user/OrderMapper.xml
@@ -418,7 +418,7 @@
                UNION
                (
                    SELECT
                        a.id orderId,
                        a.order_no orderId,
                        a. STATUS STATUS,
                        '2' type,
                        '0' money,
@@ -588,4 +588,24 @@
            a.order_status != '6'
            and a.create_user_id = #{userId}
    </select>
    <select id="selectListByOrderId" resultType="com.xzx.gc.user.vo.CategaryVo">
        SELECT
            b.title
        FROM
            xzx_order_item_info a
                LEFT JOIN xzx_sys_environmental_info b ON a.item_type = b.item_type
        where  a.order_id = #{orderId}
          and a.weight >0
        GROUP BY a.item_type
    </select>
    <select id="selectJHYListByOrderId" resultType="com.xzx.gc.user.vo.CategaryVo">
        SELECT
            a.title title
        FROM
            xzx_jhy_order_items a
        WHERE
          and a.order_no = #{orderId}
    </select>
</mapper>