|
|
|
@ -41,6 +41,7 @@ |
|
|
|
LEFT JOIN report_mapping_ipaddress rmi on rmi.department = u.department |
|
|
|
<where> |
|
|
|
td.site = #{site} |
|
|
|
and tl.created_date>DATEADD(dd, -14, GetDate()) |
|
|
|
and (tl.created_by=td.responsible_person OR dbo.Get_chat_LastType(td.site,td.id,td.created_by)!='有新回复') |
|
|
|
<if test="ipAddress != null and ipAddress != ''"> |
|
|
|
and rmi.ipaddress like #{ipAddress} |
|
|
|
|