ruoyi-system/src/main/resources/mapper/system/TFaultRepairMessageMapper.xml
@@ -111,8 +111,8 @@ LEFT JOIN t_item_type it ON t.item_type_id = it.id LEFT JOIN t_tenant tnt ON t.tenant_id = tnt.id <where> <if test="query.tenantId != null and query.tenantId != ''"> AND t.tenant_id = #{query.tenantId} <if test="query.residentName != null and query.residentName != ''"> AND tnt.resident_name LIKE CONCAT('%', #{query.residentName}, '%') </if> <if test="query.contactNumber != null and query.contactNumber != ''"> AND t.contact_number LIKE CONCAT('%', #{query.contactNumber}, '%')