|
|
@@ -3,7 +3,7 @@ playDuration=$playduration$,
|
|
|
stayDuration=$stayduration$,
|
|
|
flowSize=$flowsize$,
|
|
|
lastModified=$lastmodified$
|
|
|
-where channelid =$channelid$ and playid=$playid$
|
|
|
+where channelid =$channelid$ and playid=$playid$ and sessionid=$sessionid$
|
|
|
|
|
|
insert into tlive_viewlog(ptype, rmkenable, playid, userid, channelid,
|
|
|
playduration, stayduration, flowsize, sessionid, param1,
|
|
|
@@ -17,4 +17,4 @@ select $ptype$, 0, $playid$, $userid$, $channelid$,
|
|
|
$country$, $province$, $city$, $isp$, $referer$,
|
|
|
$useragent$, $operatingsystem$, $browser$, $ismobile$, $currentday$,
|
|
|
$createdtime$, $lastmodified$
|
|
|
-where not exists (select * from tlive_viewlog where channelid =$channelid$ and playid=$playid$)
|
|
|
+where not exists (select * from tlive_viewlog where channelid =$channelid$ and playid=$playid$ and sessionid=$sessionid$)
|