puzhibing
2025-01-14 3c9cc4f7a8ce14ce07dec4032d163fbb654cbd3f
ruoyi-service/ruoyi-order/src/main/resources/mapper/order/OrderMapper.xml
@@ -62,7 +62,7 @@
            point,
            order_status as status,
            distribution_mode as distributionMode
        from t_order where del_flag = 0 and pay_status = 2 and end_time is not null and distribution_mode != 2
        from t_order where del_flag = 0 and pay_status = 2
        <if test="null != item.code and '' != item.code">
            and order_number like CONCAT('%', #{item.code}, '%')
        </if>
@@ -85,7 +85,7 @@
            and order_status in (4, 8)
        </if>
        <if test="null != item.shopId">
            and shop_id = #{item.shopId} and address_json is null
            and shop_id = #{item.shopId} and distribution_mode != 2
        </if>
        order by create_time desc
    </select>