ruoyi-service/ruoyi-order/src/main/resources/mapper/order/OrderMapper.xml
@@ -18,6 +18,7 @@ FROM t_order o <where> pay_status = 2 <if test="status != null"> <choose> <when test="status == 4"> @@ -93,8 +94,8 @@ <if test="null != item.shopId"> and shop_id = #{item.shopId} and distribution_mode != 2 </if> <if test="null != item.createTime"> and create_time = #{item.createTime} <if test="null != item.startTime and null != item.endTime"> and create_time between #{item.startTime} and #{item.endTime} </if> order by create_time desc </select>