第一:spring_bgt.xml文件
<?xml version="1.0" encoding="gbk"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">
<!-- 预算编制-->
<bean name="basePayDao" class="com.mofit.bgtMgr.bgtExpMgr.basePayMgr.dao.BasePayDao" />
<bean name="basePayService" class="com.mofit.bgtMgr.bgtExpMgr.basePayMgr.service.BasePayService" >
<property name="basePayDao" ref="basePayDao"></property>
</bean>
<!-- 经济分类和标准项关系 -->
<bean name="ecoStdRefDao" class="com.mofit.bgtMgr.bgtExpMgr.ecoStdRef.dao.EcoStdRefDao" />
<bean name="ecoStdRefService" class="com.mofit.bgtMgr.bgtExpMgr.ecoStdRef.service.EcoStdRefService">
<property name="dao" ref="ecoStdRefDao"></property>
</bean>
<!-- 单位和功能分类对应关系 -->
<bean name="deptExpRefDao" class="com.mofit.bgtMgr.bgtExpMgr.deptExpRef.dao.DeptExpRefDao" />
<bean name="deptExpRefService" class="com.mofit.bgtMgr.bgtExpMgr.deptExpRef.service.DeptExpRefService">
<property name="deptExpRefDao" ref="deptExpRefDao"></property>
</bean>
<!-- 人员项目公式定义 -->
<bean name="expItemRefDao" class="com.mofit.bgtMgr.expItemRef.dao.ExpItemRefDao" />
<bean name="expItemRefService" class="com.mofit.bgtMgr.expItemRef.service.ExpItemRefService">
<property name="expItemRefDao" ref="expItemRefDao"></property>
</bean>
<!-- 数据源定义 -->
<bean name="dataSourceDao" class="com.mofit.bgtMgr.dataSourceMgr.dao.DataSourceDao" />
<bean name="dataSourceService" class="com.mofit.bgtMgr.dataSourceMgr.service.DataSourceService" >
<property name="dataSourceDao" ref="dataSourceDao"></property>
</bean>
<!-- 报表权限-->
<bean name="reportPermissDao" class="com.mofit.bgtMgr.bgtExpMgr.bgtReportMgr.reportPermissMgr.dao.ReportPermissDao" />
<bean name="reportPermissService" class="com.mofit.bgtMgr.bgtExpMgr.bgtReportMgr.reportPermissMgr.service.ReportPermissService" >
<property name="reportPermissDao" ref="reportPermissDao"></property>
</bean>
<!-- 报表定义 -->
<bean name="rptTempDefineDao" class="com.mofit.bgtMgr.reportTempDefine.dao.RptTempDefineDao" />
<bean name="rptTempDefineService" class="com.mofit.bgtMgr.reportTempDefine.service.RptTempDefineService" >
<property name="rptTempDefineDao" ref="rptTempDefineDao"></property>
</bean>
<!-- 预算套表查询 -->
<bean name="bgtRptQueryDao" class="com.mofit.bgtMgr.bgtReportQuery.dao.BgtRptQueryDao" />
<bean name="bgtRptQueryService" class="com.mofit.bgtMgr.bgtReportQuery.service.BgtRptQueryService">
<property name="bgtRptQueryDao" ref="bgtRptQueryDao"></property>
</bean>
<!-- 预算编制流程 -->
<bean name="bgtWfDao" class="com.mofit.bgtMgr.bgtWf.dao.BgtWfDao"/>
<bean name="bgtWfService" class="com.mofit.bgtMgr.bgtWf.service.BgtWfService" >
<property name="bgtWfDao" ref="bgtWfDao"></property>
</bean>
<!--总财力维护 -->
<bean name="bgtFundDao" class="com.mofit.bgtMgr.bgtFund.dao.BgtFundDao"/>
<bean name="bgtFundService" class="com.mofit.bgtMgr.bgtFund.service.BgtFundService" >
<property name="bgtFundDao" ref="bgtFundDao"></property>
</bean>
<bean name="fundMgrDao" class="com.mofit.bgtMgr.bgtFund.dao.FundMgrDao"/>
<bean name="fundMgrService" class="com.mofit.bgtMgr.bgtFund.service.FundMgrService" >
<property name="fundMgrDao" ref="fundMgrDao"></property>
</bean>
<!--预算参考数编制 -->
<bean name="bgtReferDao" class="com.mofit.bgtMgr.bgtRefer.dao.BgtReferDao"/>
<bean name="bgtReferService" class="com.mofit.bgtMgr.bgtRefer.service.BgtReferService" >
<property name="bgtReferDao" ref="bgtReferDao"></property>
</bean>
<!-- 部门指标回收-->
<bean name="bgtbackDao" class="com.mofit.bgtMgr.bgtBack.dao.BgtbackDao" />
<bean name="bgtbackService" class="com.mofit.bgtMgr.bgtBack.service.BgtbackService">
<property name="bgtbackDao" ref="bgtbackDao"></property>
</bean>
<!-- 指标年终结转标记-->
<bean name="bgtJuncMarkDao" class="com.mofit.bgtMgr.bgtBack.dao.BgtJuncMarkDao" />
<bean name="bgtJuncMarkService" class="com.mofit.bgtMgr.bgtBack.service.BgtJuncMarkService">
<property name="bgtJuncMarkDao" ref="bgtJuncMarkDao"></property>
</bean>
<!--指标文模板配置 -->
<bean name="bgtFileDao" class="com.mofit.bgtMgr.bgtFile.dao.BgtFileDao"/>
<bean name="bgtFileService" class="com.mofit.bgtMgr.bgtFile.service.BgtFileService">
<property name="bgtFileDao" ref="bgtFileDao"></property>
</bean>
<!-- 预算草案表 -->
<bean name="bgtDraftDao" class="com.mofit.bgtMgr.bgtdraft.dao.BgtDraftDao"/>
<bean name="bgtDraftService" class="com.mofit.bgtMgr.bgtdraft.service.BgtDraftService">
<property name="bgtDraftDao" ref="bgtDraftDao"></property>
</bean>
<!-- 预算编制单位关系设置 -->
<bean name="bgtDeptRefDao" class="com.mofit.bgtMgr.bgtDeptRef.dao.BgtDeptRefDao"/>
<bean name="bgtDeptRefService" class="com.mofit.bgtMgr.bgtDeptRef.service.BgtDeptRefService">
<property name="bgtDeptRefDao" ref="bgtDeptRefDao"></property>
</bean>
<!-- 预算支出执行情况-->
<bean name="expImptMgrDao" class="com.mofit.bgtMgr.expImptMgr.dao.ExpImptMgrDao" />
<bean name="expImptMgrService" class="com.mofit.bgtMgr.expImptMgr.service.ExpImptMgrService">
<property name="expImptMgrDao" ref="expImptMgrDao"></property>
</bean>
<!-- 政府采购预算 -->
<!-- <bean name="bgtZfcgDao" class="com.mofit.bgt.zfcg.dao.BgtZfcgDao" />
<bean name="bgtZfcgService" class="com.mofit.bgt.zfcg.service.BgtZfcgService">
<property name="dao" ref="bgtZfcgDao"></property>
</bean> -->
<!-- 预计支出录入功能 -->
<bean name="bgtPayEntryDao" class="com.mofit.bgtMgr.bgtPayEntry.dao.BgtPayEntryDao" />
<bean name="bgtPayEntryService" class="com.mofit.bgtMgr.bgtPayEntry.service.BgtPayEntryService">
<property name="bgtPayEntryDao" ref="bgtPayEntryDao"></property>
</bean>
<!-- 专管员财力申请 -->
<bean name="zgyFundApplayDao" class="com.mofit.bgtMgr.bgtFund.dao.ZgyFundApplayDao" />
<bean name="zgyFundApplayService" class="com.mofit.bgtMgr.bgtFund.service.ZgyFundApplayService">
<property name="zgyFundApplayDao" ref="zgyFundApplayDao"></property>
</bean>
<!-- 指标文 -->
<bean id="bgtDocDao" class="com.oa.bgtDoc.dao.BgtDocDao" />
<bean id="bgtDocService" class="com.oa.bgtDoc.service.BgtDocService">
<property name="dao" ref="bgtDocDao" />
</bean>
</beans>
第二:applicationContext_main.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:tx="http://www.springframework.org/schema/tx" xmlns:jee="http://www.springframework.org/schema/jee"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd
http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-3.1.xsd">
<import resource="applicationContext_common.xml" />
<import resource="applicationContext_mvc.xml" />
<import resource="applicationContext_database.xml" />
<import resource="applicationContext_wf.xml" />
<import resource="applicationContext_cache.xml" />
<import resource="applicationContext_pub.xml" />
<!-- office -->
<import resource="applicationContext_office.xml" />
<!-- 流程配置 -->
<import resource="spring_bgt.xml" />
<import resource="spring_item.xml" />
<import resource="spring_standard.xml" />
<import resource="application_client.xml" />
<import resource="applicationContext_bus.xml" />
</beans>