Files
ningbo/动易的标签库/标签库/WAP类/Wap获取访谈网友提问列表.config
2026-08-31 16:22:00 +08:00

64 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>WAP类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>static</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="4006" compatibleVersion="" />
<attributes>
<name>outputQty</name>
<datatype>int</datatype>
<default>20</default>
<intro>输出记录数</intro>
</attributes>
<attributes>
<name>titleLength</name>
<datatype>int</datatype>
<default>40</default>
<intro>内容长度</intro>
</attributes>
<attributes>
<name>bindStyle</name>
<datatype>string</datatype>
<default>普通式</default>
<intro>
</intro>
</attributes>
<attributes>
<name>usePage</name>
<datatype>string</datatype>
<default>true</default>
<intro>是否分页</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString>select 1</LabelSqlString>
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
<xsl:param name="outputQty" />
<xsl:param name="titleLength" />
<xsl:param name="interviewId" />
<xsl:param name="bindStyle" />
<xsl:param name="usePage" />
<xsl:output method="html" />
<xsl:template name="_constraint">
<xsl:param name="_doubleApos"/>
AND InterviewId = <xsl:value-of select="$interviewId"/>
</xsl:template>
<xsl:template match="/">
{PE.Label id="Wap获取访谈网友提问列表_<xsl:value-of select="$bindStyle"/>" titleLength="<xsl:value-of select="$titleLength"/>" queryCond="EXEC [dbo].[PR_Common_PagingLarge] 'PE_GV_InterviewTopic', 'TopicId', '*', @pagesize, @startrow, 'Status = 2 <xsl:call-template name="_constraint">
<xsl:with-param name="_doubleApos" select="'true'"/>
</xsl:call-template>', '', 'InputTime DESC'" queryCount="SELECT COUNT(*) FROM PE_GV_InterviewTopic WHERE Status = 2 <xsl:call-template name="_constraint">
<xsl:with-param name="_doubleApos" select="'false'"/>
</xsl:call-template>" page="<xsl:value-of select="$usePage"/>" pagesize="<xsl:value-of select="$outputQty"/>" /}
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
<attributes>
<name>interviewId</name>
<datatype>int</datatype>
<default>1</default>
<intro>访谈ID</intro>
</attributes>
</root>