%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PVHistoryCollectData.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.PV.PVHistoryCollectData" %>
<%--
这个是要放外面的--%>
<%
var pv = CreateInstance.PVHistoryDao.Where(l => l.PVGuid == PKId
&& l.PVType == this.PVType
&& l.PVTarget == this.PVTarget
&& l.UserGuid == this.UserCode)
.ToList()
.FirstResult();
if (pv != null)
{
%>
取消收藏
<%
}
else
{
%>
点击收藏
<%
}
%>