first commit
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0"?>
|
||||
<root>
|
||||
<LabelType>专题类</LabelType>
|
||||
<LabelIntro>
|
||||
</LabelIntro>
|
||||
<OutType>sin</OutType>
|
||||
<LabelDataType>sql_sysquery</LabelDataType>
|
||||
<EnabelAjax>False</EnabelAjax>
|
||||
<attributes>
|
||||
<name>specialCategoryId</name>
|
||||
<datatype>supersql</datatype>
|
||||
<default>0</default>
|
||||
<intro>专题类别ID{默认值:0,传入值:@RequestInt_Id}</intro>
|
||||
</attributes>
|
||||
<IsXsltSql>true</IsXsltSql>
|
||||
<IsXsltCountSql>false</IsXsltCountSql>
|
||||
<LabelSqlString><![CDATA[<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
|
||||
<xsl:param name="specialCategoryId"/>
|
||||
<xsl:output method="xml" />
|
||||
<xsl:template match="/">
|
||||
<root>
|
||||
<sql>
|
||||
SELECT
|
||||
S.SpecialID
|
||||
FROM
|
||||
PE_Specials S
|
||||
<xsl:if test="specialCategoryId != 0">
|
||||
WHERE
|
||||
S.SpecialCategoryID IN (@specialCategoryId)
|
||||
</xsl:if>
|
||||
</sql>
|
||||
<countsql>
|
||||
</countsql>
|
||||
</root>
|
||||
</xsl:template>
|
||||
</xsl:transform>]]></LabelSqlString>
|
||||
<LabelTemplate><![CDATA[<?xml version="1.0" encoding="utf-8"?>
|
||||
<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pe="labelproc" exclude-result-prefixes="pe">
|
||||
<xsl:output method="html" />
|
||||
<xsl:template match="/">
|
||||
<xsl:for-each select="/NewDataSet/Table">
|
||||
<xsl:value-of select="SpecialID"/>,</xsl:for-each>0</xsl:template>
|
||||
</xsl:transform>]]></LabelTemplate>
|
||||
</root>
|
||||
Reference in New Issue
Block a user