Parcourir la source

映射PromptVarField为变量

sunyj il y a 8 ans
Parent
commit
8111a04b3b
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/main/resources/crystal2jasper.xsl

+ 3 - 0
src/main/resources/crystal2jasper.xsl

@@ -374,6 +374,9 @@
 								<xsl:when test="$type='FormulaField'">
 								<xsl:when test="$type='FormulaField'">
 									<xsl:value-of select="concat('$V{',substring($value,2),'}')" />
 									<xsl:value-of select="concat('$V{',substring($value,2),'}')" />
 								</xsl:when>
 								</xsl:when>
+								<xsl:when test="$type='PromptVarField'">
+									<xsl:value-of select="concat('$V{',substring($value,2),'}')" />
+								</xsl:when>
 								<xsl:when test="$type='SpecialVarField'">
 								<xsl:when test="$type='SpecialVarField'">
 									<xsl:value-of select="concat('$V{',$value,'}')" />
 									<xsl:value-of select="concat('$V{',$value,'}')" />
 								</xsl:when>
 								</xsl:when>