From f30e571a10ab7d8c71222f9635f88f587fb43ea2 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Fri, 27 Dec 2024 14:48:04 +0800 Subject: [PATCH] todolist get order by code --- .../main/resources/mapper/material/order/OrderInfoMapper.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/order/OrderInfoMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/order/OrderInfoMapper.xml index a68545a..94f855f 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/order/OrderInfoMapper.xml +++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/order/OrderInfoMapper.xml @@ -149,6 +149,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" AND hh.order_status = #{orderStatus} + + AND moi.code = #{code} + AND ((hh.rent_begin_time BETWEEN #{startTime} AND #{endTime}) OR (hh.rent_end_time BETWEEN #{startTime} AND #{endTime})