xml文件里一个字符串引用另一个字符串

前端之家收集整理的这篇文章主要介绍了xml文件里一个字符串引用另一个字符串前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

<?

xml version= "1.0" encoding= "UTF-8" ?>

<

beans xmlns= "http://www.springframework.org/schema/beans"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"

xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"

xsi:schemaLocation="http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans-3.2.xsd

FROM FARE_BY_RULE_SEG

FROM FARE_BY_RULE_SEG

WHERE RULE_BTCH_SG IN (:batchSGs)

AND SEG_EFF_DT < :effectiveDate

WHERE RULE_BTCH_SG IN (:batchSGs)

AND SEG_EFF_DT < :effectiveDate

http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd

http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd

http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd">

<import resource="classpath:/spring/FilingTextHistoryQueries.xml" />

<bean id="sqlFareByRuleIndexCnt" class="java.lang.String">

<constructor-arg index="0">

<value>

SELECT COUNT(*)

FROM FARE_BY_RULE_SEG

WHERE RULE_BTCH_SG IN (:batchSGs)

</value>

</constructor-arg>

</bean>

<bean id="ruleFBRILt" class="java.lang.String">

<constructor-arg index="0" value="#{sqlFareByRuleIndexCnt+' AND SEG_EFF_DT &lt; :effectiveDate'}"/>

</bean>

</

beans >

结果为:ruleFBRILt=

SELECT COUNT(*) FROM FARE_BY_RULE_SEG WHERE RULE_BTCH_SG IN (:batchSGs) AND SEG_EFF_DT < :effectiveDate

原文链接:/xml/297077.html

猜你在找的XML相关文章