订单详情查询bug修改
This commit is contained in:
		
							parent
							
								
									48d82a54d1
								
							
						
					
					
						commit
						690e8d0576
					
				| 
						 | 
					@ -155,10 +155,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
				
			||||||
            OR (hh.rent_begin_time < #{startTime} AND hh.rent_end_time > #{endTime}))
 | 
					            OR (hh.rent_begin_time < #{startTime} AND hh.rent_end_time > #{endTime}))
 | 
				
			||||||
        </if>
 | 
					        </if>
 | 
				
			||||||
        <if test="czcompanyName != null and czcompanyName != ''">
 | 
					        <if test="czcompanyName != null and czcompanyName != ''">
 | 
				
			||||||
            AND c.company_name like concat('%',#{czcompanyName},'%')
 | 
					            AND up.dept_name like concat('%',#{czcompanyName},'%')
 | 
				
			||||||
        </if>
 | 
					        </if>
 | 
				
			||||||
        <if test="companyName != null and companyName != ''">
 | 
					        <if test="companyName != null and companyName != ''">
 | 
				
			||||||
            AND dept.companyName like concat('%',#{companyName},'%')
 | 
					            AND dept.dept_name like concat('%',#{companyName},'%')
 | 
				
			||||||
        </if>
 | 
					        </if>
 | 
				
			||||||
        <if test="lowerBound != null and lowerBound != '' and upperBound != null and upperBound != ''">
 | 
					        <if test="lowerBound != null and lowerBound != '' and upperBound != null and upperBound != ''">
 | 
				
			||||||
            AND mt.lease_price BETWEEN #{lowerBound} AND #{upperBound}
 | 
					            AND mt.lease_price BETWEEN #{lowerBound} AND #{upperBound}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue