@@ -99,6 +99,7 @@
parameterType="map">
SELECT tct.*,u.real_name_ latest_operator_ FROM tenant_contract_template tct left join sys_user u on tct.modify_by_ = u.id_
<where>
+ tct.tenant_id_ = #{tenantId}
<if test="status != null">
and tct.status_ = #{status}
</if>