KKSU
2023-12-21 c9289c6477ea92fce66d191b4b2a41a9bad22b05
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -483,4 +483,27 @@
        GROUP BY goods_id
        ORDER BY goods_id desc
</select>
    <select id="getAppOrderListInPage" resultType="cc.mrbird.febs.mall.vo.ApiGetOrderListVo">
        select
               a.id,
               a.amount
        from mall_order_info a
        <where>
            a.is_app = 1
            <if test="record.status != null">
                and a.status = #{record.status}
            </if>
        </where>
    </select>
    <select id="getAppOrderByOrderId" resultType="cc.mrbird.febs.mall.vo.ApiGetOrderListVo">
        select
               a.id,
               a.amount
        from mall_order_info a
        where
            a.is_app = 1
            and id = #{orderId}
    </select>
</mapper>