luodangjia
2025-02-07 8ffeb751b3a694e8d1cb6a21bec855f6c49b31b6
ruoyi-service/ruoyi-order/src/main/resources/mapper/order/OrderMapper.xml
@@ -22,10 +22,10 @@
            <if test="status != null">
                <choose>
                    <when test="status == 4">
                        o.order_status in (4, 8)
                       and o.order_status in (4, 8)
                    </when>
                    <otherwise>
                        o.order_status = #{status}
                        and o.order_status = #{status}
                    </otherwise>
                </choose>
            </if>