@@ -50,7 +50,7 @@ | |||
t.name,t.province_code,t.province_name,t.city_code,t.city_name,t.district_code,t.district_name,u.username username | |||
FROM t_tenant t,users u | |||
WHERE t.enabled = 1 and u.enabled =1 and t.user_id =u.id | |||
<if test="query.name != null and query.name != ''"> | |||
<if test="query.tenantName != null and query.tenantName != ''"> | |||
and t.name LIKE concat('%',#{query.tenantName},'%') | |||
</if> | |||
<if test="query.username != null and query.username != ''"> |