todolist get order by code

This commit is contained in:
sxu 2024-12-27 14:48:04 +08:00
parent 44352c5b68
commit f30e571a10
1 changed files with 3 additions and 0 deletions

View File

@ -149,6 +149,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="orderStatus != null and orderStatus != ''">
AND hh.order_status = #{orderStatus}
</if>
<if test="code != null and code != ''">
AND moi.code = #{code}
</if>
<if test="startTime != null and endTime != null ">
AND ((hh.rent_begin_time BETWEEN #{startTime} AND #{endTime})
OR (hh.rent_end_time BETWEEN #{startTime} AND #{endTime})