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})