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