Files
ningbo/动易的标签库/标签库/WAP类/Wap信件内容.config
T
2026-08-31 16:22:00 +08:00

45 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<root>
<LabelType>WAP类</LabelType>
<LabelIntro>
</LabelIntro>
<OutType>sin</OutType>
<LabelDataType>sql_sysquery</LabelDataType>
<EnabelAjax>False</EnabelAjax>
<Version officialVersion="" modifiedVersions="4000" compatibleVersion="" />
<attributes>
<name>letterId</name>
<datatype>supersql</datatype>
<default>1</default>
<intro>信件ID</intro>
</attributes>
<IsXsltSql>false</IsXsltSql>
<IsXsltCountSql>false</IsXsltCountSql>
<LabelSqlString><![CDATA[SELECT TOP 1 PE_GV_Letters.* FROM PE_GV_Letters WHERE LetterId = @letterId AND IsPublic = 1 AND Status > -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="letterId" />
<xsl:output method="html" />
<xsl:template match="/NewDataSet/Table">
<div class="article_title">
<xsl:value-of select="Title"/>
</div>
<div class="article_content">
<span>提交人:</span>
<xsl:value-of select="Name"/>
</div>
<div class="article_content">
<span>写信日期:</span>
<xsl:value-of select="pe:FormatDate(InputTime,'yyyy-mm-dd')"/>
</div>
<div class="article_content">
<span>受理编号:</span>
<xsl:value-of select="IndexNumber"/>
</div>
<div class="article_content">
<span>信件内容:</span>
<xsl:value-of disable-output-escaping="yes" select="Content"/>
</div>
</xsl:template>
</xsl:stylesheet>]]></LabelTemplate>
</root>