订单详情查询bug修改

This commit is contained in:
liang.chao 2024-12-19 13:10:38 +08:00
parent 48d82a54d1
commit 690e8d0576
1 changed files with 2 additions and 2 deletions

View File

@ -155,10 +155,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
OR (hh.rent_begin_time < #{startTime} AND hh.rent_end_time > #{endTime}))
</if>
<if test="czcompanyName != null and czcompanyName != ''">
AND c.company_name like concat('%',#{czcompanyName},'%')
AND up.dept_name like concat('%',#{czcompanyName},'%')
</if>
<if test="companyName != null and companyName != ''">
AND dept.companyName like concat('%',#{companyName},'%')
AND dept.dept_name like concat('%',#{companyName},'%')
</if>
<if test="lowerBound != null and lowerBound != '' and upperBound != null and upperBound != ''">
AND mt.lease_price BETWEEN #{lowerBound} AND #{upperBound}