mitao
2024-06-17 d6853537d802423fbd09fb4c73e2f98719d06574
修改bug
1个文件已修改
6 ■■■■■ 已修改文件
ruoyi-modules/ruoyi-order/src/main/resources/mapper/order/OrderReturnRequestMapper.xml 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-modules/ruoyi-order/src/main/resources/mapper/order/OrderReturnRequestMapper.xml
@@ -35,10 +35,12 @@
      <if test="query.status != null">
        AND torr.status = #{query.status}
      </if>
      <if test="query.orderType != null and query.orderType== OrderTypeEnum.MALL_ORDER">
      <if
        test="query.orderType != null and @com.test.constant.OrderTypeEnum@isMallOrder(query.orderType)">
        AND o.order_from in (1,2,3)
      </if>
      <if test="query.orderType != null and query.orderType== OrderTypeEnum.AUCTION_ORDER">
      <if
        test="query.orderType != null and @com.test.constant.OrderTypeEnum@isAuctionOrder(query.orderType)">
        AND o.order_from = 4
      </if>
    </where>