Files
ningbo/动易的标签库/标签库/项目信息公开/建设用地审批信息_内容页_数据源.config
2026-08-31 16:22:00 +08:00

67 lines
2.8 KiB
Plaintext

<root>
<LabelDataType>sql_sysquery</LabelDataType>
<LabelType>建设用地审批信息</LabelType>
<LabelImage>../../Admin/Images/LabelIco/GetPicArticle.gif</LabelImage>
<LabelIntro>
</LabelIntro>
<LabelSqlString>SELECT TOP 1 * FROM PE_PPI_CommonModel CM INNER JOIN PE_PPI_U_BuildLand UT ON (CM.ItemID = UT.ID AND CM.TableName='PE_PPI_U_BuildLand') WHERE CM.GeneralID = @itemId AND CM.Status=1</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="xml" />
<xsl:param name="itemId"/>
<xsl:template match="/">
<root>
<!--FieldTipsStart-->
<GeneralID>
<xsl:value-of select="/NewDataSet/Table/GeneralID"/>
</GeneralID>
<NodeID>
<xsl:value-of select="/NewDataSet/Table/CatalogId"/>
</NodeID>
<Title>
<xsl:value-of select="/NewDataSet/Table/Title"/>
</Title>
<UpdateTime>
<xsl:value-of select="pe:FormatDate(/NewDataSet/Table/UpdateTime,'yyyy年mm月dd日')"/>
</UpdateTime>
<Hits>
&lt;script language="JavaScript" type="text/JavaScript" src="<xsl:value-of select="pe:InstallDir()" />Common/GetHits.aspx?id=<xsl:value-of select="/NewDataSet/Table/GeneralID"/>"&gt;&lt;/script&gt;
</Hits>
<DayHits>
&lt;script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot; src=&quot;
<xsl:value-of select="pe:InstallDir()"/>Common/GetHits.aspx?hitstype=1&amp;id=<xsl:value-of select="/NewDataSet/Table/GeneralID"/>
&quot;&gt;&lt;/script&gt;
</DayHits>
<WeekHits>
&lt;script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot; src=&quot;
<xsl:value-of select="pe:InstallDir()"/>Common/GetHits.aspx?hitstype=2&amp;id=<xsl:value-of select="/NewDataSet/Table/GeneralID"/>
&quot;&gt;&lt;/script&gt;
</WeekHits>
<MonthHits>
&lt;script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot; src=&quot;
<xsl:value-of select="pe:InstallDir()"/>Common/GetHits.aspx?hitstype=3&amp;id=<xsl:value-of select="/NewDataSet/Table/GeneralID"/>
&quot;&gt;&lt;/script&gt;
</MonthHits>
<ProjectNum><xsl:value-of select="/NewDataSet/Table/ProjectNum"/></ProjectNum>
<ApplicantEntity><xsl:value-of select="/NewDataSet/Table/ApplicantEntity"/></ApplicantEntity>
<Location><xsl:value-of select="/NewDataSet/Table/Location"/></Location>
<PlannedUse><xsl:value-of select="/NewDataSet/Table/PlannedUse"/></PlannedUse>
<Area><xsl:value-of select="/NewDataSet/Table/Area"/></Area>
<ApproveTime><xsl:value-of select="pe:FormatDate(/NewDataSet/Table/ApproveTime,'yyyy-mm-dd')"/></ApproveTime>
<!--FieldTipsEnd-->
</root>
</xsl:template>
</xsl:transform>]]>
</LabelTemplate>
<attributes>
<name>itemId</name>
<default>1</default>
<intro>公开信息ID</intro>
</attributes>
<OutType>
</OutType>
<CacheTime>0</CacheTime>
</root>