|  | @@ -172,19 +172,19 @@
 | 
											
												
													
														|  |              <if test="param.evaluateFlag != null">
 |  |              <if test="param.evaluateFlag != null">
 | 
											
												
													
														|  |                  AND t.evaluate_time_ > 0
 |  |                  AND t.evaluate_time_ > 0
 | 
											
												
													
														|  |              </if>
 |  |              </if>
 | 
											
												
													
														|  | -            <if test="param.tenantId ! =null">
 |  | 
 | 
											
												
													
														|  | -                AND t.tenantId_ = #{param.tenantId}
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="param.tenantId != null">
 | 
											
												
													
														|  | 
 |  | +                AND t.tenant_id_ = #{param.tenantId}
 | 
											
												
													
														|  |              </if>
 |  |              </if>
 | 
											
												
													
														|  | -            <if test="param.settlementFrom ! =null">
 |  | 
 | 
											
												
													
														|  | 
 |  | +            <if test="param.settlementFrom != null">
 | 
											
												
													
														|  |                  AND t.settlement_from_ = #{param.settlementFrom}
 |  |                  AND t.settlement_from_ = #{param.settlementFrom}
 | 
											
												
													
														|  |              </if>
 |  |              </if>
 | 
											
												
													
														|  |              <if test="param.tenantName != null and param.tenantName.trim() != ''">
 |  |              <if test="param.tenantName != null and param.tenantName.trim() != ''">
 | 
											
												
													
														|  | -                and te.name_ like concat('%',#{param.tenantName},'%')
 |  | 
 | 
											
												
													
														|  | 
 |  | +                and ti.name_ like concat('%',#{param.tenantName},'%')
 | 
											
												
													
														|  |              </if>
 |  |              </if>
 | 
											
												
													
														|  |          </where>
 |  |          </where>
 | 
											
												
													
														|  |          <choose>
 |  |          <choose>
 | 
											
												
													
														|  |              <when test="param.orderBy != null and param.orderBy.trim() != ''">
 |  |              <when test="param.orderBy != null and param.orderBy.trim() != ''">
 | 
											
												
													
														|  | -                order by #{param.orderBy}
 |  | 
 | 
											
												
													
														|  | 
 |  | +                order by ${param.orderBy}
 | 
											
												
													
														|  |              </when>
 |  |              </when>
 | 
											
												
													
														|  |              <otherwise>
 |  |              <otherwise>
 | 
											
												
													
														|  |                  order by t.create_time_ desc
 |  |                  order by t.create_time_ desc
 |