Browse Source

created by xielq base of mes_juh_prod branch

xielq 5 years ago
parent
commit
d53b4ac030
2 changed files with 4 additions and 4 deletions
  1. 2 2
      WebContent/WEB-INF/spring/config.xml
  2. 2 2
      WebContent/WEB-INF/spring/db-config.xml

+ 2 - 2
WebContent/WEB-INF/spring/config.xml

@@ -19,7 +19,7 @@
 	default-autowire="byName">
 	<bean id="baseUtil" class="com.uas.mes.common.util.BaseUtil"></bean>
 	<util:properties id="about">
-		<prop key="defaultSob">UAS_MES</prop>
+		<prop key="defaultSob">MES</prop>
 	</util:properties>
 	<mvc:default-servlet-handler />
 	<!-- 自动扫描 ,把作了注解的类转换为bean -->
@@ -214,4 +214,4 @@
 
 	<import resource="db-config.xml" />
 	<import resource="cache-default.xml" />
-</beans>
+</beans>

+ 2 - 2
WebContent/WEB-INF/spring/db-config.xml

@@ -4,7 +4,7 @@
 	xsi:schemaLocation="
 		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
 	<!-- 数据源 -->
-	<bean id="UAS_MES" class="com.alibaba.druid.pool.DruidDataSource" destroy-method="close">
+	<bean id="MES" class="com.alibaba.druid.pool.DruidDataSource" destroy-method="close">
 		<property name="driverClassName">
 			<value>oracle.jdbc.driver.OracleDriver</value>
 		</property>
@@ -73,4 +73,4 @@
 			</list>
 		</property>
 	</bean>
-</beans>
+</beans>