From 3c6f6c1e3016e38146a4c46be6e7b625c35591f2 Mon Sep 17 00:00:00 2001
From: zhai <1528081232@qq.com>
Date: 星期四, 18 十二月 2025 11:49:18 +0800
Subject: [PATCH] 1、添加报表 2、修改添加报表报错

---
 src/main/resources/applicationContext.xml |  117 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 59 insertions(+), 58 deletions(-)

diff --git a/src/main/resources/applicationContext.xml b/src/main/resources/applicationContext.xml
index 2486037..b6201fd 100644
--- a/src/main/resources/applicationContext.xml
+++ b/src/main/resources/applicationContext.xml
@@ -1,75 +1,76 @@
 <?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"
-	xmlns:cache="http://www.springframework.org/schema/cache" xmlns:task="http://www.springframework.org/schema/task"
-	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
+       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"
+       xmlns:cache="http://www.springframework.org/schema/cache" xmlns:task="http://www.springframework.org/schema/task"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
 		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
 		http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.3.xsd
 		http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd 
 		http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd
 		http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd">
 
-	<!-- 閰嶇疆鑷姩鎵弿鐨勫寘锛屼娇鍏惰嚜鍔ㄦ敞鍏ュ埌IOC瀹瑰櫒 -->
-	<context:component-scan base-package="com.ruili.**" />
+    <!-- 閰嶇疆鑷姩鎵弿鐨勫寘锛屼娇鍏惰嚜鍔ㄦ敞鍏ュ埌IOC瀹瑰櫒 -->
+    <context:component-scan base-package="com.ruili.**,com.zbooksoft.**"/>
 
-	<!-- 鍚敤缂撳瓨娉ㄨВ鍔熻兘锛堥渶瑕侀厤缃湪Spring涓婚厤缃枃浠朵腑锛� -->
-	<cache:annotation-driven cache-manager="ehcacheManager" />
+    <!-- 鍚敤缂撳瓨娉ㄨВ鍔熻兘锛堥渶瑕侀厤缃湪Spring涓婚厤缃枃浠朵腑锛� -->
+    <cache:annotation-driven cache-manager="ehcacheManager"/>
 
-	<task:annotation-driven scheduler="myScheduler" />
+    <task:annotation-driven scheduler="myScheduler"/>
 
-	<task:scheduler id="myScheduler" pool-size="5" />
+    <task:scheduler id="myScheduler" pool-size="5"/>
 
-	<!-- ureport2閰嶇疆鍐呯疆鏁版嵁婧� -->
-	<bean id="buildinDatasource" class="com.ruili.wcp.common.report.UreportBuildinDatasource">
-		<property name="dataSource" ref="dataSource"></property>
-	</bean>
+    <!-- ureport2閰嶇疆鍐呯疆鏁版嵁婧� -->
+    <bean id="buildinDatasource" class="com.ruili.wcp.common.report.UreportBuildinDatasource">
+        <property name="dataSource" ref="dataSource"></property>
+    </bean>
 
-	<!-- 鍩轰簬spring瀹炵幇鐨勭紦瀛樼鐞嗗櫒 -->
-	<bean id="ehcacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager">
-		<property name="cacheManager" ref="cacheManagerFactory" />
-	</bean>
+    <!-- 鍩轰簬spring瀹炵幇鐨勭紦瀛樼鐞嗗櫒 -->
+    <bean id="ehcacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager">
+        <property name="cacheManager" ref="cacheManagerFactory"/>
+    </bean>
 
-	<!--鍔犺浇ehcache鐨勭浉鍏抽厤缃� -->
-	<bean id="cacheManagerFactory"
-		class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
-		<property name="configLocation" value="classpath:ehcache.xml" />
-		<property name="shared" value="true"></property>
-	</bean>
+    <!--鍔犺浇ehcache鐨勭浉鍏抽厤缃� -->
+    <bean id="cacheManagerFactory"
+          class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
+        <property name="configLocation" value="classpath:ehcache.xml"/>
+        <property name="shared" value="true"></property>
+    </bean>
 
-	<!-- spring 绾跨▼姹犵殑閰嶇疆 begin -->
-	<context:property-placeholder location="classpath:spring-thread.properties"
-		ignore-unresolvable="true" order="1" />
-	<bean id="taskExecutor"
-		class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
-		<!-- 鏍稿績绾跨▼鏁� -->
-		<property name="corePoolSize" value="${core_pool_size}" />
-		<!-- 鏈�澶х嚎绋嬫暟 -->
-		<property name="maxPoolSize" value="${max_pool_size}" />
-		<!-- 闃熷垪鏈�澶ч暱搴� -->
-		<property name="queueCapacity" value="${queue_capacity}" />
-		<!-- 绾跨▼姹犵淮鎶ょ嚎绋嬫墍鍏佽鐨勭┖闂叉椂闂达紝榛樿涓�60s -->
-		<property name="keepAliveSeconds" value="${keep_alive_seconds}" />
-	</bean>
-	<!-- 鐢ㄤ簬IO鎿嶄綔鐨勭郴缁熸睜 -->
-	<bean id="ioTaskExecutor"
-		class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
-		<!-- 鏍稿績绾跨▼鏁� -->
-		<property name="corePoolSize" value="20" />
-		<!-- 鏈�澶х嚎绋嬫暟 -->
-		<property name="maxPoolSize" value="100" />
-		<!-- 闃熷垪鏈�澶ч暱搴� -->
-		<property name="queueCapacity" value="1000" />
-		<!-- 绾跨▼姹犵淮鎶ょ嚎绋嬫墍鍏佽鐨勭┖闂叉椂闂达紝榛樿涓�60s -->
-		<property name="keepAliveSeconds" value="60" />
-	</bean>
-	<!-- spring 绾跨▼姹犵殑閰嶇疆 end -->
+    <!-- spring 绾跨▼姹犵殑閰嶇疆 begin -->
+    <context:property-placeholder location="classpath:spring-thread.properties"
+                                  ignore-unresolvable="true" order="1"/>
+    <bean id="taskExecutor"
+          class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
+        <!-- 鏍稿績绾跨▼鏁� -->
+        <property name="corePoolSize" value="${core_pool_size}"/>
+        <!-- 鏈�澶х嚎绋嬫暟 -->
+        <property name="maxPoolSize" value="${max_pool_size}"/>
+        <!-- 闃熷垪鏈�澶ч暱搴� -->
+        <property name="queueCapacity" value="${queue_capacity}"/>
+        <!-- 绾跨▼姹犵淮鎶ょ嚎绋嬫墍鍏佽鐨勭┖闂叉椂闂达紝榛樿涓�60s -->
+        <property name="keepAliveSeconds" value="${keep_alive_seconds}"/>
+    </bean>
+    <!-- 鐢ㄤ簬IO鎿嶄綔鐨勭郴缁熸睜 -->
+    <bean id="ioTaskExecutor"
+          class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
+        <!-- 鏍稿績绾跨▼鏁� -->
+        <property name="corePoolSize" value="20"/>
+        <!-- 鏈�澶х嚎绋嬫暟 -->
+        <property name="maxPoolSize" value="100"/>
+        <!-- 闃熷垪鏈�澶ч暱搴� -->
+        <property name="queueCapacity" value="1000"/>
+        <!-- 绾跨▼姹犵淮鎶ょ嚎绋嬫墍鍏佽鐨勭┖闂叉椂闂达紝榛樿涓�60s -->
+        <property name="keepAliveSeconds" value="60"/>
+    </bean>
+    <!-- spring 绾跨▼姹犵殑閰嶇疆 end -->
 
-	<!-- 瀵煎叆鍏朵粬閰嶇疆鏂囦欢 -->
-	<import resource="spring-shiro.xml" />
-	<import resource="spring-mybatis.xml" />
-	<import resource="spring-wcp.xml" />
-	<import resource="spring-quartz.xml" />
-	<!-- 瀵煎叆ureport閰嶇疆鏂囦欢 -->
-	<import resource="classpath:ureport-console-context.xml" />
+    <!-- 瀵煎叆鍏朵粬閰嶇疆鏂囦欢 -->
+    <import resource="spring-shiro.xml"/>
+    <import resource="spring-mybatis.xml"/>
+    <import resource="spring-wcp.xml"/>
+    <import resource="spring-quartz.xml"/>
+    <!-- 瀵煎叆ureport閰嶇疆鏂囦欢 -->
+    <import resource="classpath:ureport-console-context.xml"/>
 </beans>
\ No newline at end of file

--
Gitblit v1.9.1