|
@@ -31,6 +31,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="tpName != null and tpName != ''">
|
|
|
AND ct.tp_name like concat('%', #{tpName}, '%')
|
|
|
</if>
|
|
|
+ <if test="tenantId != null and tenantId != ''">
|
|
|
+ AND ct.tenant_id = #{tenantId}
|
|
|
+ </if>
|
|
|
<if test="tenantSort != null and tenantSort == 1">
|
|
|
ORDER BY ct.tenant_id
|
|
|
</if>
|