Commit 6c65e984 by kangxiaoshan

manaer 测试分支

parent 2971c585
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
/.classpath /.classpath
/.project /.project
/.externalToolBuilders /.externalToolBuilders
/.idea/ .idea/
/node_modules/ /node_modules/
/dist/ /dist/
!/src/main/webapp/WEB-INF !/src/main/webapp/WEB-INF
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -11,8 +11,11 @@ ...@@ -11,8 +11,11 @@
</webroots> </webroots>
</configuration> </configuration>
</facet> </facet>
<facet type="Spring" name="Spring">
<configuration />
</facet>
</component> </component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false"> <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
<output url="file://$MODULE_DIR$/target/classes" /> <output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" /> <output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
...@@ -79,7 +82,7 @@ ...@@ -79,7 +82,7 @@
<orderEntry type="module-library"> <orderEntry type="module-library">
<library name="Maven: com.alibaba:jconsole:1.8.0"> <library name="Maven: com.alibaba:jconsole:1.8.0">
<CLASSES> <CLASSES>
<root url="jar://E:/Java/jdk1.8.0_65/lib/jconsole.jar!/" /> <root url="jar://D:/Program Files/Java/jdk1.8.0_181/lib/jconsole.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />
...@@ -88,7 +91,7 @@ ...@@ -88,7 +91,7 @@
<orderEntry type="module-library"> <orderEntry type="module-library">
<library name="Maven: com.alibaba:tools:1.8.0"> <library name="Maven: com.alibaba:tools:1.8.0">
<CLASSES> <CLASSES>
<root url="jar://E:/Java/jdk1.8.0_65/lib/tools.jar!/" /> <root url="jar://D:/Program Files/Java/jdk1.8.0_181/lib/tools.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />
......
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="web" name="Web">
<configuration>
<descriptors>
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
</descriptors>
<webroots>
<root url="file://$MODULE_DIR$/lib" relative="WEB-INF/lib" />
<root url="file://$MODULE_DIR$/src/main/webapp" relative="/" />
</webroots>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="PROVIDED" name="Maven: javax.servlet:javax.servlet-api:3.0.1" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-core:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-beans:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-web:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-expression:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-context-support:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-jpa:1.3.2.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-commons:1.5.1.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-orm:3.1.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-jdbc:3.1.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.7.2" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aspects:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.8.9" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-aop:4.3.4.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-redis:1.7.1.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework.data:spring-data-keyvalue:1.1.1.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-tx:4.2.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: org.springframework:spring-oxm:4.2.5.RELEASE" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:2.9.1" level="project" />
<orderEntry type="library" name="Maven: com.googlecode.ehcache-spring-annotations:ehcache-spring-annotations:1.1.2" level="project" />
<orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache-core:2.1.0" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-core:4.2.1.Final" level="project" />
<orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
<orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
<orderEntry type="library" name="Maven: org.jboss.spec.javax.transaction:jboss-transaction-api_1.1_spec:1.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.0-api:1.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:4.2.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate.common:hibernate-commons-annotations:4.0.1.Final" level="project" />
<orderEntry type="library" name="Maven: org.hibernate:hibernate-validator:5.0.0.Final" level="project" />
<orderEntry type="library" name="Maven: javax.validation:validation-api:1.1.0.Final" level="project" />
<orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.1.1.GA" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml:classmate:0.8.0" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: org.glassfish.web:javax.el:2.2.4" level="project" />
<orderEntry type="library" scope="RUNTIME" name="Maven: javax.el:javax.el-api:2.2.4" level="project" />
<orderEntry type="library" name="Maven: org.xerial.snappy:snappy-java:1.1.2.6" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.7.5" level="project" />
<orderEntry type="library" name="Maven: org.slf4j:jcl-over-slf4j:1.7.5" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-classic:1.1.3" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-core:1.1.3" level="project" />
<orderEntry type="library" name="Maven: ch.qos.logback:logback-access:1.1.3" level="project" />
<orderEntry type="library" name="Maven: org.logback-extensions:logback-ext-spring:0.1.2" level="project" />
<orderEntry type="library" name="Maven: org.javassist:javassist:3.20.0-GA" level="project" />
<orderEntry type="library" name="Maven: mysql:mysql-connector-java:5.1.25" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.8.5" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.8.5" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.8.5" level="project" />
<orderEntry type="library" name="Maven: javax.inject:javax.inject:1" level="project" />
<orderEntry type="library" name="Maven: redis.clients:jedis:2.8.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-pool2:2.3" level="project" />
<orderEntry type="library" name="Maven: com.alibaba:druid:1.0.14" level="project" />
<orderEntry type="module-library">
<library name="Maven: com.alibaba:jconsole:1.8.0">
<CLASSES>
<root url="jar://E:/Java/jdk1.8.0_65/lib/jconsole.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library name="Maven: com.alibaba:tools:1.8.0">
<CLASSES>
<root url="jar://E:/Java/jdk1.8.0_65/lib/tools.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="library" name="Maven: net.sf.json-lib:json-lib:jdk15:2.4" level="project" />
<orderEntry type="library" name="Maven: commons-beanutils:commons-beanutils:1.8.0" level="project" />
<orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
<orderEntry type="library" name="Maven: net.sf.ezmorph:ezmorph:1.0.6" level="project" />
<orderEntry type="library" name="Maven: commons-lang:commons-lang:2.6" level="project" />
<orderEntry type="library" name="Maven: org.json:json:20090211" level="project" />
<orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.2.2" level="project" />
<orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
<orderEntry type="library" name="Maven: com.belerweb:pinyin4j:2.5.0" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-email:1.2" level="project" />
<orderEntry type="library" name="Maven: javax.mail:mail:1.4.1" level="project" />
<orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.googlecode.jmockit:jmockit:1.5" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: com.googlecode.jmockit:jmockit-coverage:0.999.24" level="project" />
<orderEntry type="library" name="Maven: org.jdom:jdom:1.1.3" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:aws-java-sdk-dynamodb:1.11.52" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:aws-java-sdk-s3:1.11.52" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:aws-java-sdk-kms:1.11.52" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:aws-java-sdk-core:1.11.52" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.4" level="project" />
<orderEntry type="library" name="Maven: software.amazon.ion:ion-java:1.0.1" level="project" />
<orderEntry type="library" name="Maven: com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.6.6" level="project" />
<orderEntry type="library" name="Maven: com.amazonaws:jmespath-java:1.0" level="project" />
<orderEntry type="library" name="Maven: org.jsoup:jsoup:1.6.3" level="project" />
<orderEntry type="library" name="Maven: org.codehaus.jettison:jettison:1.3.7" level="project" />
<orderEntry type="library" name="Maven: stax:stax-api:1.0.1" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:20.0" level="project" />
<orderEntry type="library" name="Maven: commons-httpclient:commons-httpclient:3.1" level="project" />
<orderEntry type="library" name="Maven: com.sun.jersey:jersey-core:1.8" level="project" />
<orderEntry type="library" name="Maven: org.webjars.npm:isemail:2.1.0" level="project" />
<orderEntry type="library" name="Maven: commons-net:commons-net:3.6" level="project" />
<orderEntry type="library" name="Maven: dnsjava:dnsjava:2.1.8" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi:3.16" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
<orderEntry type="library" name="Maven: org.apache.commons:commons-collections4:4.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml:3.16" level="project" />
<orderEntry type="library" name="Maven: org.apache.poi:poi-ooxml-schemas:3.16" level="project" />
<orderEntry type="library" name="Maven: org.apache.xmlbeans:xmlbeans:2.6.0" level="project" />
<orderEntry type="library" name="Maven: com.github.virtuald:curvesapi:1.04" level="project" />
<orderEntry type="library" name="Maven: org.anarres.lzo:lzo-core:1.0.5" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:annotations:2.0.3" level="project" />
<orderEntry type="library" name="Maven: io.netty:netty-all:4.0.23.Final" level="project" />
<orderEntry type="library" name="Maven: com.google.code.gson:gson:1.6" level="project" />
<orderEntry type="library" name="Maven: com.google.api-ads:ads-lib:3.9.0" level="project" />
<orderEntry type="library" name="Maven: com.google.inject:guice:4.0" level="project" />
<orderEntry type="library" name="Maven: com.google.inject.extensions:guice-assistedinject:4.0" level="project" />
<orderEntry type="library" name="Maven: com.google.inject.extensions:guice-multibindings:4.0" level="project" />
<orderEntry type="library" name="Maven: commons-configuration:commons-configuration:1.10" level="project" />
<orderEntry type="library" name="Maven: net.sf.opencsv:opencsv:1.8" level="project" />
<orderEntry type="library" name="Maven: joda-time:joda-time:2.8.2" level="project" />
<orderEntry type="library" name="Maven: com.google.api-client:google-api-client:1.22.0" level="project" />
<orderEntry type="library" name="Maven: com.google.oauth-client:google-oauth-client:1.22.0" level="project" />
<orderEntry type="library" name="Maven: com.google.api-ads:adwords-axis:3.9.0" level="project" />
<orderEntry type="library" name="Maven: com.google.api-ads:ads-lib-axis:3.9.0" level="project" />
<orderEntry type="library" name="Maven: commons-discovery:commons-discovery:0.4" level="project" />
<orderEntry type="library" name="Maven: javax.xml:jaxrpc-api:1.1" level="project" />
<orderEntry type="library" name="Maven: org.apache.axis:axis:1.4" level="project" />
<orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.2" level="project" />
<orderEntry type="library" name="Maven: com.google.http-client:google-http-client-jackson2:1.22.0" level="project" />
<orderEntry type="library" name="Maven: com.google.http-client:google-http-client:1.22.0" level="project" />
<orderEntry type="library" name="Maven: com.google.code.findbugs:jsr305:1.3.9" level="project" />
<orderEntry type="library" name="Maven: com.beust:jcommander:1.48" level="project" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.reyun</groupId> <groupId>com.reyun</groupId>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<packaging>war</packaging> <packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>myweb Maven Webapp</name> <name>myweb Maven Webapp</name>
<url>http://maven.apache.org</url> <url>http://maven.apache.org</url>
<repositories> <repositories>
<repository> <repository>
<id>cloudera-repo-releases</id> <id>cloudera-repo-releases</id>
<url>https://repository.cloudera.com/artifactory/cloudera-repos/</url> <url>https://repository.cloudera.com/artifactory/cloudera-repos/</url>
</repository> </repository>
</repositories> </repositories>
<!-- 定义相关属性 --> <!-- 定义相关属性 -->
<properties> <properties>
<jdk-version>1.8</jdk-version> <jdk-version>1.8</jdk-version>
<junit-version>4.11</junit-version> <junit-version>4.11</junit-version>
<spring-version>4.3.4.RELEASE</spring-version> <spring-version>4.3.4.RELEASE</spring-version>
<maven.jetty.version>9.2.2.v20140723</maven.jetty.version> <maven.jetty.version>9.2.2.v20140723</maven.jetty.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<logback.version>1.1.3</logback.version> <logback.version>1.1.3</logback.version>
</properties> </properties>
<profiles> <profiles>
<profile> <profile>
<id>dev</id> <id>dev</id>
<activation> <activation>
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
<properties> <properties>
<label>dev</label> <label>dev</label>
<!--数据源配置--> <!--数据源配置-->
<datasource.driver>com.mysql.jdbc.Driver</datasource.driver> <datasource.driver>com.mysql.jdbc.Driver</datasource.driver>
<!--//office--> <!--//office-->
<default.datasource.url>jdbc:mysql://192.168.2.57:3306/manager?characterEncoding=utf-8</default.datasource.url> <default.datasource.url>jdbc:mysql://192.168.2.57:3306/manager?characterEncoding=utf-8
<default.datasource.username>root</default.datasource.username> </default.datasource.url>
<default.datasource.password>reyun123</default.datasource.password> <default.datasource.username>root</default.datasource.username>
<default.datasource.password>reyun123</default.datasource.password>
<office.url>jdbc:mysql://192.168.2.57:3306/office?characterEncoding=utf-8</office.url>
<office.username>root</office.username> <office.url>jdbc:mysql://192.168.2.57:3306/office?characterEncoding=utf-8</office.url>
<office.password>reyun123</office.password> <office.username>root</office.username>
<office.password>reyun123</office.password>
<tkio.url>jdbc:mysql://192.168.2.57:3306/trackingio?characterEncoding=utf-8</tkio.url>
<tkio.username>root</tkio.username> <tkio.url>jdbc:mysql://192.168.2.57:3306/trackingio?characterEncoding=utf-8</tkio.url>
<tkio.password>reyun123</tkio.password> <tkio.username>root</tkio.username>
<tkio.password>reyun123</tkio.password>
<track.url>jdbc:mysql://192.168.2.57:3306/track?characterEncoding=utf-8</track.url>
<track.username>root</track.username> <track.url>jdbc:mysql://192.168.2.57:3306/track?characterEncoding=utf-8</track.url>
<track.password>reyun123</track.password> <track.username>root</track.username>
<track.password>reyun123</track.password>
<dmp.url>jdbc:mysql://192.168.2.57:3306/manager?characterEncoding=utf-8</dmp.url>
<dmp.username>root</dmp.username> <dmp.url>jdbc:mysql://192.168.2.57:3306/manager?characterEncoding=utf-8</dmp.url>
<dmp.password>reyun123</dmp.password> <dmp.username>root</dmp.username>
<dmp.password>reyun123</dmp.password>
<io.url>jdbc:mysql://192.168.2.57:3306/userio?characterEncoding=utf-8</io.url>
<io.username>root</io.username> <io.url>jdbc:mysql://192.168.2.57:3306/userio?characterEncoding=utf-8</io.url>
<io.password>reyun123</io.password> <io.username>root</io.username>
<io.password>reyun123</io.password>
<mail.host>smtp.exmail.qq.com</mail.host>
<mail.username>manar@reyun.com</mail.username> <mail.host>smtp.exmail.qq.com</mail.host>
<mail.password>Reyun123</mail.password> <mail.username>manar@reyun.com</mail.username>
<mail.content_type>text/plain;charset\=GBK</mail.content_type> <mail.password>Reyun123</mail.password>
<mail.list>zhangliang</mail.list> <mail.content_type>text/plain;charset\=GBK</mail.content_type>
<!-- 单位是分钟--> <mail.list>zhangliang</mail.list>
<mail.valid_time>3</mail.valid_time> <!-- 单位是分钟-->
<mail.valid_time>3</mail.valid_time>
<report.url>http://10.3.20.41:9010</report.url>
<report.url>http://10.3.20.41:9010</report.url>
<!--Redis setting-->
<redis.key.validtime>120</redis.key.validtime> <!--Redis setting-->
<redis.ip.requesttimes>5</redis.ip.requesttimes> <redis.key.validtime>120</redis.key.validtime>
<redis.ip.unknown.requesttimes>5</redis.ip.unknown.requesttimes> <redis.ip.requesttimes>5</redis.ip.requesttimes>
<redis.ip.unknown.requesttimes>5</redis.ip.unknown.requesttimes>
<redis.surl.host>192.168.2.57</redis.surl.host>
<redis.surl.port>6379</redis.surl.port> <redis.surl.host>192.168.2.57</redis.surl.host>
<redis.surl.port>6379</redis.surl.port>
<redis.event.host>192.168.2.57</redis.event.host>
<redis.event.port>6379</redis.event.port> <redis.event.host>192.168.2.57</redis.event.host>
<redis.event.database>0</redis.event.database> <redis.event.port>6379</redis.event.port>
<!--Redis setting//end--> <redis.event.database>0</redis.event.database>
</properties> <!--Redis setting//end-->
</profile> </properties>
</profile>
<profile>
<id>test</id> <profile>
<properties> <id>test</id>
<label>product</label> <properties>
<!--数据源配置--> <label>product</label>
<datasource.driver>com.mysql.jdbc.Driver</datasource.driver> <!--数据源配置-->
<!--//office--> <datasource.driver>com.mysql.jdbc.Driver</datasource.driver>
<default.datasource.url>jdbc:mysql://10.3.20.32:3306/manager?characterEncoding=utf-8</default.datasource.url> <!--//office-->
<default.datasource.username>root</default.datasource.username> <default.datasource.url>jdbc:mysql://10.3.20.32:3306/manager?characterEncoding=utf-8
<default.datasource.password>reyun.123</default.datasource.password> </default.datasource.url>
<default.datasource.username>root</default.datasource.username>
<office.url>jdbc:mysql://10.3.20.32:3306/office?characterEncoding=utf-8</office.url> <default.datasource.password>reyun.123</default.datasource.password>
<office.username>root</office.username>
<office.password>reyun.123</office.password> <office.url>jdbc:mysql://10.3.20.32:3306/office?characterEncoding=utf-8</office.url>
<office.username>root</office.username>
<tkio.url>jdbc:mysql://10.3.20.32:3306/trackingio_test?characterEncoding=utf-8</tkio.url> <office.password>reyun.123</office.password>
<tkio.username>root</tkio.username>
<tkio.password>reyun.123</tkio.password> <tkio.url>jdbc:mysql://10.3.20.32:3306/trackingio_test?characterEncoding=utf-8</tkio.url>
<tkio.username>root</tkio.username>
<track.url>jdbc:mysql://10.3.20.32:3306/track_test?characterEncoding=utf-8</track.url> <tkio.password>reyun.123</tkio.password>
<track.username>root</track.username>
<track.password>reyun.123</track.password> <track.url>jdbc:mysql://10.3.20.32:3306/track_test?characterEncoding=utf-8</track.url>
<track.username>root</track.username>
<dmp.url>jdbc:mysql://10.3.20.32:3306/manager?characterEncoding=utf-8</dmp.url> <track.password>reyun.123</track.password>
<dmp.username>root</dmp.username>
<dmp.password>reyun.123</dmp.password> <dmp.url>jdbc:mysql://10.3.20.32:3306/manager?characterEncoding=utf-8</dmp.url>
<dmp.username>root</dmp.username>
<io.url>jdbc:mysql://10.3.20.32:3306/userio?characterEncoding=utf-8</io.url> <dmp.password>reyun.123</dmp.password>
<io.username>root</io.username>
<io.password>reyun.123</io.password> <io.url>jdbc:mysql://10.3.20.32:3306/userio?characterEncoding=utf-8</io.url>
<io.username>root</io.username>
<mail.host>smtp.exmail.qq.com</mail.host> <io.password>reyun.123</io.password>
<mail.username>manxiaang@reyun.com</mail.username>
<mail.password>Mxq123</mail.password> <mail.host>smtp.exmail.qq.com</mail.host>
<mail.content_type>text/plain;charset\=GBK</mail.content_type> <mail.username>manxiaang@reyun.com</mail.username>
<mail.list>zhangliang</mail.list> <mail.password>Mxq123</mail.password>
<!-- 单位是分钟--> <mail.content_type>text/plain;charset\=GBK</mail.content_type>
<mail.valid_time>3</mail.valid_time> <mail.list>zhangliang</mail.list>
<!-- 单位是分钟-->
<report.url>http://localhost:9010</report.url> <mail.valid_time>3</mail.valid_time>
<!--Redis setting-->
<redis.key.validtime>120</redis.key.validtime> <!--<report.url>http://localhost:9010</report.url>-->
<redis.ip.requesttimes>5</redis.ip.requesttimes> <report.url>http://http://10.3.20.41:11010</report.url>
<redis.ip.unknown.requesttimes>5</redis.ip.unknown.requesttimes> <!--Redis setting-->
<redis.key.validtime>120</redis.key.validtime>
<redis.surl.host>10.3.20.33</redis.surl.host> <redis.ip.requesttimes>5</redis.ip.requesttimes>
<redis.surl.port>6379</redis.surl.port> <redis.ip.unknown.requesttimes>5</redis.ip.unknown.requesttimes>
<redis.event.host>10.3.20.33</redis.event.host> <redis.surl.host>10.3.20.33</redis.surl.host>
<redis.event.port>6379</redis.event.port> <redis.surl.port>6379</redis.surl.port>
<redis.event.database>13</redis.event.database>
<!--Redis setting//end--> <redis.event.host>10.3.20.33</redis.event.host>
</properties> <redis.event.port>6379</redis.event.port>
</profile> <redis.event.database>13</redis.event.database>
<!--Redis setting//end-->
<profile> </properties>
<id>preview</id> </profile>
<properties>
<label>dev</label> <profile>
<datasource.url>jdbc:mysql://reyuntest.c42s8pkbxrdg.rds.cn-north-1.amazonaws.com.cn:3306/trackingio_test?characterEncoding=utf-8</datasource.url> <id>preview</id>
<datasource.username>reyuntest</datasource.username> <properties>
<datasource.password>reyuntest</datasource.password> <label>dev</label>
<datasource.driver>com.mysql.jdbc.Driver</datasource.driver> <datasource.url>
jdbc:mysql://reyuntest.c42s8pkbxrdg.rds.cn-north-1.amazonaws.com.cn:3306/trackingio_test?characterEncoding=utf-8
<report.url>http://172.31.12.82:8003</report.url> </datasource.url>
<datasource.username>reyuntest</datasource.username>
</properties> <datasource.password>reyuntest</datasource.password>
</profile> <datasource.driver>com.mysql.jdbc.Driver</datasource.driver>
<profile> <report.url>http://172.31.12.82:8003</report.url>
<id>aws</id>
<properties> </properties>
<label>product</label> </profile>
<!--数据源配置-->
<datasource.driver>com.mysql.jdbc.Driver</datasource.driver> <profile>
<!--//office--> <id>aws</id>
<default.datasource.url>jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/manager?characterEncoding=utf-8</default.datasource.url> <properties>
<default.datasource.username>trackingio</default.datasource.username> <label>product</label>
<default.datasource.password>trackingio</default.datasource.password> <!--数据源配置-->
<datasource.driver>com.mysql.jdbc.Driver</datasource.driver>
<office.url>jdbc:mysql://track.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/office?characterEncoding=utf-8</office.url> <!--//office-->
<office.username>office</office.username> <default.datasource.url>
<office.password>office</office.password> jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/manager?characterEncoding=utf-8
</default.datasource.url>
<tkio.url>jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/trackingio?characterEncoding=utf-8</tkio.url> <default.datasource.username>trackingio</default.datasource.username>
<tkio.username>trackingio</tkio.username> <default.datasource.password>trackingio</default.datasource.password>
<tkio.password>trackingio</tkio.password>
<office.url>
<track.url>jdbc:mysql://track.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/track?characterEncoding=utf-8</track.url> jdbc:mysql://track.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/office?characterEncoding=utf-8
<track.username>admin</track.username> </office.url>
<track.password>admin!@#456</track.password> <office.username>office</office.username>
<office.password>office</office.password>
<dmp.url>jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/manager?characterEncoding=utf-8</dmp.url>
<dmp.username>trackingio</dmp.username> <tkio.url>
<dmp.password>trackingio</dmp.password> jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/trackingio?characterEncoding=utf-8
</tkio.url>
<io.url>jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/userio?characterEncoding=utf-8</io.url> <tkio.username>trackingio</tkio.username>
<io.username>reyun</io.username> <tkio.password>trackingio</tkio.password>
<io.password>Reyun123</io.password>
<track.url>
<mail.host>smtp.exmail.qq.com</mail.host> jdbc:mysql://track.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/track?characterEncoding=utf-8
<mail.username>manager@reyun.com</mail.username> </track.url>
<mail.password>Reyun123</mail.password> <track.username>admin</track.username>
<mail.content_type>text/plain;charset\=GBK</mail.content_type> <track.password>admin!@#456</track.password>
<mail.list>zhangliang</mail.list>
<!-- 单位是分钟--> <dmp.url>
<mail.valid_time>3</mail.valid_time> jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/manager?characterEncoding=utf-8
</dmp.url>
<report.url>http://internal-report-api-976419027.cn-north-1.elb.amazonaws.com.cn</report.url> <dmp.username>trackingio</dmp.username>
<dmp.password>trackingio</dmp.password>
<!--Redis setting-->
<redis.key.validtime>120</redis.key.validtime> <io.url>
<redis.ip.requesttimes>5</redis.ip.requesttimes> jdbc:mysql://tkio.cma5jkozme68.rds.cn-north-1.amazonaws.com.cn:3306/userio?characterEncoding=utf-8
<redis.ip.unknown.requesttimes>5</redis.ip.unknown.requesttimes> </io.url>
<io.username>reyun</io.username>
<redis.surl.host>trackingio-web.nr7fi4.0001.cnn1.cache.amazonaws.com.cn</redis.surl.host> <io.password>Reyun123</io.password>
<redis.surl.port>6379</redis.surl.port>
<mail.host>smtp.exmail.qq.com</mail.host>
<redis.event.host>trackingio-web.nr7fi4.0001.cnn1.cache.amazonaws.com.cn</redis.event.host> <mail.username>manager@reyun.com</mail.username>
<redis.event.port>6379</redis.event.port> <mail.password>Reyun123</mail.password>
<redis.event.database>13</redis.event.database> <mail.content_type>text/plain;charset\=GBK</mail.content_type>
<!--Redis setting//end--> <mail.list>zhangliang</mail.list>
</properties> <!-- 单位是分钟-->
</profile> <mail.valid_time>3</mail.valid_time>
</profiles>
<report.url>http://internal-report-api-976419027.cn-north-1.elb.amazonaws.com.cn</report.url>
<!-- 定义依赖包 -->
<dependencies> <!--Redis setting-->
<dependency> <redis.key.validtime>120</redis.key.validtime>
<groupId>javax.servlet</groupId> <redis.ip.requesttimes>5</redis.ip.requesttimes>
<artifactId>javax.servlet-api</artifactId> <redis.ip.unknown.requesttimes>5</redis.ip.unknown.requesttimes>
<version>3.0.1</version>
<scope>provided</scope> <redis.surl.host>trackingio-web.nr7fi4.0001.cnn1.cache.amazonaws.com.cn</redis.surl.host>
</dependency> <redis.surl.port>6379</redis.surl.port>
<!-- spring begin -->
<dependency> <redis.event.host>trackingio-web.nr7fi4.0001.cnn1.cache.amazonaws.com.cn</redis.event.host>
<groupId>org.springframework</groupId> <redis.event.port>6379</redis.event.port>
<artifactId>spring-core</artifactId> <redis.event.database>13</redis.event.database>
<version>${spring-version}</version> <!--Redis setting//end-->
</dependency> </properties>
<dependency> </profile>
<groupId>org.springframework</groupId> </profiles>
<artifactId>spring-beans</artifactId>
<version>${spring-version}</version> <!-- 定义依赖包 -->
</dependency> <dependencies>
<dependency> <dependency>
<groupId>org.springframework</groupId> <groupId>javax.servlet</groupId>
<artifactId>spring-web</artifactId> <artifactId>javax.servlet-api</artifactId>
<version>${spring-version}</version> <version>3.0.1</version>
</dependency> <scope>provided</scope>
<dependency> </dependency>
<groupId>org.springframework</groupId> <!-- spring begin -->
<artifactId>spring-webmvc</artifactId> <dependency>
<version>${spring-version}</version> <groupId>org.springframework</groupId>
</dependency> <artifactId>spring-core</artifactId>
<dependency> <version>${spring-version}</version>
<groupId>org.springframework</groupId> </dependency>
<artifactId>spring-context</artifactId> <dependency>
<version>${spring-version}</version> <groupId>org.springframework</groupId>
</dependency> <artifactId>spring-beans</artifactId>
<dependency> <version>${spring-version}</version>
<groupId>org.springframework</groupId> </dependency>
<artifactId>spring-context-support</artifactId> <dependency>
<version>${spring-version}</version> <groupId>org.springframework</groupId>
</dependency> <artifactId>spring-web</artifactId>
<dependency> <version>${spring-version}</version>
<groupId>org.springframework.data</groupId> </dependency>
<artifactId>spring-data-jpa</artifactId> <dependency>
<version>1.3.2.RELEASE</version> <groupId>org.springframework</groupId>
</dependency> <artifactId>spring-webmvc</artifactId>
<version>${spring-version}</version>
<dependency> </dependency>
<groupId>org.springframework</groupId> <dependency>
<artifactId>spring-aspects</artifactId> <groupId>org.springframework</groupId>
<version>${spring-version}</version> <artifactId>spring-context</artifactId>
</dependency> <version>${spring-version}</version>
<dependency> </dependency>
<groupId>org.springframework</groupId> <dependency>
<artifactId>spring-aop</artifactId> <groupId>org.springframework</groupId>
<version>${spring-version}</version> <artifactId>spring-context-support</artifactId>
</dependency> <version>${spring-version}</version>
<dependency> </dependency>
<groupId>org.springframework.data</groupId> <dependency>
<artifactId>spring-data-redis</artifactId> <groupId>org.springframework.data</groupId>
<version>1.7.1.RELEASE</version> <artifactId>spring-data-jpa</artifactId>
<exclusions> <version>1.3.2.RELEASE</version>
<exclusion> </dependency>
<artifactId>spring-aop</artifactId>
<groupId>org.springframework</groupId> <dependency>
</exclusion> <groupId>org.springframework</groupId>
<exclusion> <artifactId>spring-aspects</artifactId>
<artifactId>spring-core</artifactId> <version>${spring-version}</version>
<groupId>org.springframework</groupId> </dependency>
</exclusion> <dependency>
<exclusion> <groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId> <artifactId>spring-aop</artifactId>
<groupId>org.springframework</groupId> <version>${spring-version}</version>
</exclusion> </dependency>
<exclusion> <dependency>
<artifactId>spring-context</artifactId> <groupId>org.springframework.data</groupId>
<groupId>org.springframework</groupId> <artifactId>spring-data-redis</artifactId>
</exclusion> <version>1.7.1.RELEASE</version>
<exclusion> <exclusions>
<artifactId>spring-beans</artifactId> <exclusion>
<groupId>org.springframework</groupId> <artifactId>spring-aop</artifactId>
</exclusion> <groupId>org.springframework</groupId>
<exclusion> </exclusion>
<artifactId>slf4j-api</artifactId> <exclusion>
<groupId>org.slf4j</groupId> <artifactId>spring-core</artifactId>
</exclusion> <groupId>org.springframework</groupId>
<exclusion> </exclusion>
<artifactId>jcl-over-slf4j</artifactId> <exclusion>
<groupId>org.slf4j</groupId> <artifactId>spring-context-support</artifactId>
</exclusion> <groupId>org.springframework</groupId>
</exclusions> </exclusion>
</dependency> <exclusion>
<!-- spring end --> <artifactId>spring-context</artifactId>
<groupId>org.springframework</groupId>
<dependency> </exclusion>
<groupId>net.sf.ehcache</groupId> <exclusion>
<artifactId>ehcache</artifactId> <artifactId>spring-beans</artifactId>
<version>2.9.1</version> <groupId>org.springframework</groupId>
<exclusions> </exclusion>
<exclusion> <exclusion>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
</exclusion> </exclusion>
</exclusions> <exclusion>
</dependency> <artifactId>jcl-over-slf4j</artifactId>
<dependency> <groupId>org.slf4j</groupId>
<groupId>com.googlecode.ehcache-spring-annotations</groupId> </exclusion>
<artifactId>ehcache-spring-annotations</artifactId> </exclusions>
<version>1.1.2</version> </dependency>
<type>jar</type> <!-- spring end -->
<scope>compile</scope>
<exclusions> <dependency>
<exclusion> <groupId>net.sf.ehcache</groupId>
<artifactId>commons-codec</artifactId> <artifactId>ehcache</artifactId>
<groupId>commons-codec</groupId> <version>2.9.1</version>
</exclusion> <exclusions>
<exclusion> <exclusion>
<artifactId>spring-aop</artifactId> <artifactId>slf4j-api</artifactId>
<groupId>org.springframework</groupId> <groupId>org.slf4j</groupId>
</exclusion> </exclusion>
<exclusion> </exclusions>
<artifactId>spring-core</artifactId> </dependency>
<groupId>org.springframework</groupId> <dependency>
</exclusion> <groupId>com.googlecode.ehcache-spring-annotations</groupId>
<exclusion> <artifactId>ehcache-spring-annotations</artifactId>
<artifactId>slf4j-api</artifactId> <version>1.1.2</version>
<groupId>org.slf4j</groupId> <type>jar</type>
</exclusion> <scope>compile</scope>
<exclusion> <exclusions>
<artifactId>spring-beans</artifactId> <exclusion>
<groupId>org.springframework</groupId> <artifactId>commons-codec</artifactId>
</exclusion> <groupId>commons-codec</groupId>
</exclusions> </exclusion>
</dependency> <exclusion>
<artifactId>spring-aop</artifactId>
<!-- hibernate begin --> <groupId>org.springframework</groupId>
<dependency> </exclusion>
<groupId>org.hibernate</groupId> <exclusion>
<artifactId>hibernate-core</artifactId> <artifactId>spring-core</artifactId>
<version>4.2.1.Final</version> <groupId>org.springframework</groupId>
<exclusions> </exclusion>
<exclusion> <exclusion>
<artifactId>javassist</artifactId> <artifactId>slf4j-api</artifactId>
<groupId>org.javassist</groupId> <groupId>org.slf4j</groupId>
</exclusion> </exclusion>
<exclusion> <exclusion>
<artifactId>jboss-logging</artifactId> <artifactId>spring-beans</artifactId>
<groupId>org.jboss.logging</groupId> <groupId>org.springframework</groupId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency>
<groupId>org.hibernate</groupId> <!-- hibernate begin -->
<artifactId>hibernate-entitymanager</artifactId> <dependency>
<version>4.2.1.Final</version> <groupId>org.hibernate</groupId>
<exclusions> <artifactId>hibernate-core</artifactId>
<exclusion> <version>4.2.1.Final</version>
<artifactId>javassist</artifactId> <exclusions>
<groupId>org.javassist</groupId> <exclusion>
</exclusion> <artifactId>javassist</artifactId>
<exclusion> <groupId>org.javassist</groupId>
<artifactId>jboss-logging</artifactId> </exclusion>
<groupId>org.jboss.logging</groupId> <exclusion>
</exclusion> <artifactId>jboss-logging</artifactId>
</exclusions> <groupId>org.jboss.logging</groupId>
</dependency> </exclusion>
<dependency> </exclusions>
<groupId>org.hibernate.common</groupId> </dependency>
<artifactId>hibernate-commons-annotations</artifactId> <dependency>
<version>4.0.1.Final</version> <groupId>org.hibernate</groupId>
<exclusions> <artifactId>hibernate-entitymanager</artifactId>
<exclusion> <version>4.2.1.Final</version>
<artifactId>jboss-logging</artifactId> <exclusions>
<groupId>org.jboss.logging</groupId> <exclusion>
</exclusion> <artifactId>javassist</artifactId>
</exclusions> <groupId>org.javassist</groupId>
</dependency> </exclusion>
<dependency> <exclusion>
<groupId>org.hibernate</groupId> <artifactId>jboss-logging</artifactId>
<artifactId>hibernate-validator</artifactId> <groupId>org.jboss.logging</groupId>
<version>5.0.0.Final</version> </exclusion>
</dependency> </exclusions>
<dependency> </dependency>
<groupId>org.xerial.snappy</groupId> <dependency>
<artifactId>snappy-java</artifactId> <groupId>org.hibernate.common</groupId>
<version>1.0.4.1</version> <artifactId>hibernate-commons-annotations</artifactId>
</dependency> <version>4.0.1.Final</version>
<!-- hibernate end --> <exclusions>
<exclusion>
<artifactId>jboss-logging</artifactId>
<!--logger begin --> <groupId>org.jboss.logging</groupId>
<dependency> </exclusion>
<groupId>org.slf4j</groupId> </exclusions>
<artifactId>slf4j-api</artifactId> </dependency>
<version>1.7.5</version> <dependency>
</dependency> <groupId>org.hibernate</groupId>
<dependency> <artifactId>hibernate-validator</artifactId>
<groupId>org.slf4j</groupId> <version>5.0.0.Final</version>
<artifactId>jcl-over-slf4j</artifactId> </dependency>
<version>1.7.5</version> <dependency>
<exclusions> <groupId>org.xerial.snappy</groupId>
<exclusion> <artifactId>snappy-java</artifactId>
<artifactId>slf4j-api</artifactId> <version>1.0.4.1</version>
<groupId>org.slf4j</groupId> </dependency>
</exclusion> <!-- hibernate end -->
</exclusions>
</dependency>
<!--logger begin -->
<dependency> <dependency>
<groupId>ch.qos.logback</groupId> <groupId>org.slf4j</groupId>
<artifactId>logback-classic</artifactId> <artifactId>slf4j-api</artifactId>
<version>${logback.version}</version> <version>1.7.5</version>
<exclusions> </dependency>
<exclusion> <dependency>
<artifactId>slf4j-api</artifactId> <groupId>org.slf4j</groupId>
<groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId>
</exclusion> <version>1.7.5</version>
</exclusions> <exclusions>
</dependency> <exclusion>
<artifactId>slf4j-api</artifactId>
<dependency> <groupId>org.slf4j</groupId>
<groupId>ch.qos.logback</groupId> </exclusion>
<artifactId>logback-access</artifactId> </exclusions>
<version>${logback.version}</version> </dependency>
</dependency>
<dependency>
<dependency> <groupId>ch.qos.logback</groupId>
<groupId>org.logback-extensions</groupId> <artifactId>logback-classic</artifactId>
<artifactId>logback-ext-spring</artifactId> <version>${logback.version}</version>
<version>0.1.2</version> <exclusions>
<exclusions> <exclusion>
<exclusion> <artifactId>slf4j-api</artifactId>
<artifactId>logback-classic</artifactId> <groupId>org.slf4j</groupId>
<groupId>ch.qos.logback</groupId> </exclusion>
</exclusion> </exclusions>
</exclusions> </dependency>
</dependency>
<dependency> <dependency>
<groupId>org.javassist</groupId> <groupId>ch.qos.logback</groupId>
<artifactId>javassist</artifactId> <artifactId>logback-access</artifactId>
<version>3.20.0-GA</version> <version>${logback.version}</version>
</dependency> </dependency>
<!-- logger end -->
<dependency>
<groupId>org.logback-extensions</groupId>
<!-- database begin --> <artifactId>logback-ext-spring</artifactId>
<dependency> <version>0.1.2</version>
<groupId>mysql</groupId> <exclusions>
<artifactId>mysql-connector-java</artifactId> <exclusion>
<version>5.1.25</version> <artifactId>logback-classic</artifactId>
</dependency> <groupId>ch.qos.logback</groupId>
<!-- database end --> </exclusion>
</exclusions>
<dependency> </dependency>
<groupId>com.fasterxml.jackson.core</groupId> <dependency>
<artifactId>jackson-annotations</artifactId> <groupId>org.javassist</groupId>
<version>2.8.5</version> <artifactId>javassist</artifactId>
</dependency> <version>3.20.0-GA</version>
<dependency> </dependency>
<groupId>com.fasterxml.jackson.core</groupId> <!-- logger end -->
<artifactId>jackson-databind</artifactId>
<version>2.8.5</version>
<exclusions> <!-- database begin -->
<exclusion> <dependency>
<artifactId>jackson-annotations</artifactId> <groupId>mysql</groupId>
<groupId>com.fasterxml.jackson.core</groupId> <artifactId>mysql-connector-java</artifactId>
</exclusion> <version>5.1.25</version>
</exclusions> </dependency>
</dependency> <!-- database end -->
<dependency> <dependency>
<groupId>javax.inject</groupId> <groupId>com.fasterxml.jackson.core</groupId>
<artifactId>javax.inject</artifactId> <artifactId>jackson-annotations</artifactId>
<version>1</version> <version>2.8.5</version>
</dependency> </dependency>
<dependency>
<dependency> <groupId>com.fasterxml.jackson.core</groupId>
<groupId>redis.clients</groupId> <artifactId>jackson-databind</artifactId>
<artifactId>jedis</artifactId> <version>2.8.5</version>
<version>2.8.0</version> <exclusions>
<type>jar</type> <exclusion>
<scope>compile</scope> <artifactId>jackson-annotations</artifactId>
</dependency> <groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
<dependency> </exclusions>
<groupId>com.alibaba</groupId> </dependency>
<artifactId>druid</artifactId>
<version>1.0.14</version> <dependency>
</dependency> <groupId>javax.inject</groupId>
<artifactId>javax.inject</artifactId>
<dependency> <version>1</version>
<groupId>net.sf.json-lib</groupId> </dependency>
<artifactId>json-lib</artifactId>
<version>2.4</version> <dependency>
<classifier>jdk15</classifier> <groupId>redis.clients</groupId>
<exclusions> <artifactId>jedis</artifactId>
<exclusion> <version>2.8.0</version>
<artifactId>commons-lang</artifactId> <type>jar</type>
<groupId>commons-lang</groupId> <scope>compile</scope>
</exclusion> </dependency>
<exclusion>
<artifactId>commons-logging</artifactId> <dependency>
<groupId>commons-logging</groupId> <groupId>com.alibaba</groupId>
</exclusion> <artifactId>druid</artifactId>
<exclusion> <version>1.0.14</version>
<artifactId>commons-beanutils</artifactId> </dependency>
<groupId>commons-beanutils</groupId>
</exclusion> <dependency>
<exclusion> <groupId>net.sf.json-lib</groupId>
<artifactId>commons-collections</artifactId> <artifactId>json-lib</artifactId>
<groupId>commons-collections</groupId> <version>2.4</version>
</exclusion> <classifier>jdk15</classifier>
</exclusions> <exclusions>
</dependency> <exclusion>
<dependency> <artifactId>commons-lang</artifactId>
<groupId>commons-lang</groupId> <groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId> </exclusion>
<version>2.6</version> <exclusion>
</dependency> <artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
<dependency> </exclusion>
<groupId>org.json</groupId> <exclusion>
<artifactId>json</artifactId> <artifactId>commons-beanutils</artifactId>
<version>20090211</version> <groupId>commons-beanutils</groupId>
</dependency> </exclusion>
<exclusion>
<dependency> <artifactId>commons-collections</artifactId>
<groupId>commons-fileupload</groupId> <groupId>commons-collections</groupId>
<artifactId>commons-fileupload</artifactId> </exclusion>
<version>1.2.2</version> </exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>commons-io</groupId> <groupId>commons-lang</groupId>
<artifactId>commons-io</artifactId> <artifactId>commons-lang</artifactId>
<version>2.4</version> <version>2.6</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>com.belerweb</groupId> <groupId>org.json</groupId>
<artifactId>pinyin4j</artifactId> <artifactId>json</artifactId>
<version>2.5.0</version> <version>20090211</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.commons</groupId> <groupId>commons-fileupload</groupId>
<artifactId>commons-email</artifactId> <artifactId>commons-fileupload</artifactId>
<version>1.2</version> <version>1.2.2</version>
</dependency> </dependency>
<dependency>
<!-- JMockit --> <groupId>commons-io</groupId>
<dependency> <artifactId>commons-io</artifactId>
<groupId>com.googlecode.jmockit</groupId> <version>2.4</version>
<artifactId>jmockit</artifactId> </dependency>
<version>1.5</version>
<scope>test</scope> <dependency>
</dependency> <groupId>com.belerweb</groupId>
<dependency> <artifactId>pinyin4j</artifactId>
<groupId>com.googlecode.jmockit</groupId> <version>2.5.0</version>
<artifactId>jmockit-coverage</artifactId> </dependency>
<version>0.999.24</version>
<scope>test</scope> <dependency>
</dependency> <groupId>org.apache.commons</groupId>
<artifactId>commons-email</artifactId>
<dependency> <version>1.2</version>
<groupId>org.jdom</groupId> </dependency>
<artifactId>jdom</artifactId>
<version>1.1.3</version> <!-- JMockit -->
</dependency> <dependency>
<groupId>com.googlecode.jmockit</groupId>
<dependency> <artifactId>jmockit</artifactId>
<groupId>com.amazonaws</groupId> <version>1.5</version>
<artifactId>aws-java-sdk-dynamodb</artifactId> <scope>test</scope>
<version>1.11.52</version> </dependency>
<exclusions> <dependency>
<exclusion> <groupId>com.googlecode.jmockit</groupId>
<artifactId>jackson-core</artifactId> <artifactId>jmockit-coverage</artifactId>
<groupId>com.fasterxml.jackson.core</groupId> <version>0.999.24</version>
</exclusion> <scope>test</scope>
<exclusion> </dependency>
<artifactId>jackson-databind</artifactId>
<groupId>com.fasterxml.jackson.core</groupId> <dependency>
</exclusion> <groupId>org.jdom</groupId>
<exclusion> <artifactId>jdom</artifactId>
<artifactId>commons-codec</artifactId> <version>1.1.3</version>
<groupId>commons-codec</groupId> </dependency>
</exclusion>
<exclusion> <dependency>
<artifactId>commons-logging</artifactId> <groupId>com.amazonaws</groupId>
<groupId>commons-logging</groupId> <artifactId>aws-java-sdk-dynamodb</artifactId>
</exclusion> <version>1.11.52</version>
<exclusion> <exclusions>
<artifactId>joda-time</artifactId> <exclusion>
<groupId>joda-time</groupId> <artifactId>jackson-core</artifactId>
</exclusion> <groupId>com.fasterxml.jackson.core</groupId>
</exclusions> </exclusion>
</dependency> <exclusion>
<artifactId>jackson-databind</artifactId>
<dependency> <groupId>com.fasterxml.jackson.core</groupId>
<groupId>org.jsoup</groupId> </exclusion>
<artifactId>jsoup</artifactId> <exclusion>
<version>1.6.3</version> <artifactId>commons-codec</artifactId>
</dependency> <groupId>commons-codec</groupId>
<!-- https://mvnrepository.com/artifact/org.codehaus.jettison/jettison --> </exclusion>
<dependency> <exclusion>
<groupId>org.codehaus.jettison</groupId> <artifactId>commons-logging</artifactId>
<artifactId>jettison</artifactId> <groupId>commons-logging</groupId>
<version>1.3.7</version> </exclusion>
</dependency> <exclusion>
<artifactId>joda-time</artifactId>
<!-- https://mvnrepository.com/artifact/com.google.guava/guava --> <groupId>joda-time</groupId>
<dependency> </exclusion>
<groupId>com.google.guava</groupId> </exclusions>
<artifactId>guava</artifactId> </dependency>
<version>20.0</version>
</dependency> <dependency>
<dependency> <groupId>org.jsoup</groupId>
<groupId>commons-httpclient</groupId> <artifactId>jsoup</artifactId>
<artifactId>commons-httpclient</artifactId> <version>1.6.3</version>
<version>3.1</version> </dependency>
<exclusions> <!-- https://mvnrepository.com/artifact/org.codehaus.jettison/jettison -->
<exclusion> <dependency>
<artifactId>commons-codec</artifactId> <groupId>org.codehaus.jettison</groupId>
<groupId>commons-codec</groupId> <artifactId>jettison</artifactId>
</exclusion> <version>1.3.7</version>
<exclusion> </dependency>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId> <!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
</exclusion> <dependency>
</exclusions> <groupId>com.google.guava</groupId>
</dependency> <artifactId>guava</artifactId>
<version>20.0</version>
<dependency> </dependency>
<groupId>com.sun.jersey</groupId> <dependency>
<artifactId>jersey-core</artifactId> <groupId>commons-httpclient</groupId>
<version>1.8</version> <artifactId>commons-httpclient</artifactId>
</dependency> <version>3.1</version>
<exclusions>
<!-- https://mvnrepository.com/artifact/org.webjars.npm/isemail --> <exclusion>
<dependency> <artifactId>commons-codec</artifactId>
<groupId>org.webjars.npm</groupId> <groupId>commons-codec</groupId>
<artifactId>isemail</artifactId> </exclusion>
<version>2.1.0</version> <exclusion>
</dependency> <artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
<!-- https://mvnrepository.com/artifact/commons-net/commons-net --> </exclusion>
<dependency> </exclusions>
<groupId>commons-net</groupId> </dependency>
<artifactId>commons-net</artifactId>
<version>3.6</version> <dependency>
</dependency> <groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
<!-- https://mvnrepository.com/artifact/dnsjava/dnsjava --> <version>1.8</version>
<dependency> </dependency>
<groupId>dnsjava</groupId>
<artifactId>dnsjava</artifactId> <!-- https://mvnrepository.com/artifact/org.webjars.npm/isemail -->
<version>2.1.8</version> <dependency>
</dependency> <groupId>org.webjars.npm</groupId>
<artifactId>isemail</artifactId>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi --> <version>2.1.0</version>
<dependency> </dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId> <!-- https://mvnrepository.com/artifact/commons-net/commons-net -->
<version>3.16</version> <dependency>
</dependency> <groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml --> <version>3.6</version>
<dependency> </dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId> <!-- https://mvnrepository.com/artifact/dnsjava/dnsjava -->
<version>3.16</version> <dependency>
</dependency> <groupId>dnsjava</groupId>
<artifactId>dnsjava</artifactId>
<dependency> <version>2.1.8</version>
<groupId>org.xerial.snappy</groupId> </dependency>
<artifactId>snappy-java</artifactId>
<version>1.1.2.6</version> <!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
</dependency> <dependency>
<groupId>org.apache.poi</groupId>
<dependency> <artifactId>poi</artifactId>
<groupId>org.anarres.lzo</groupId> <version>3.16</version>
<artifactId>lzo-core</artifactId> </dependency>
<version>1.0.5</version>
<exclusions> <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml -->
<exclusion> <dependency>
<artifactId>commons-logging</artifactId> <groupId>org.apache.poi</groupId>
<groupId>commons-logging</groupId> <artifactId>poi-ooxml</artifactId>
</exclusion> <version>3.16</version>
</exclusions> </dependency>
</dependency>
<dependency>
<dependency> <groupId>org.xerial.snappy</groupId>
<groupId>io.netty</groupId> <artifactId>snappy-java</artifactId>
<artifactId>netty-all</artifactId> <version>1.1.2.6</version>
<version>4.0.23.Final</version> </dependency>
</dependency>
<dependency> <dependency>
<groupId>com.google.code.gson</groupId> <groupId>org.anarres.lzo</groupId>
<artifactId>gson</artifactId> <artifactId>lzo-core</artifactId>
<version>1.6</version> <version>1.0.5</version>
</dependency> <exclusions>
<!-- cat //End--> <exclusion>
<artifactId>commons-logging</artifactId>
<!-- Ads client library dependencies --> <groupId>commons-logging</groupId>
<dependency> </exclusion>
<groupId>com.google.api-ads</groupId> </exclusions>
<artifactId>ads-lib</artifactId> </dependency>
<version>3.9.0</version>
<exclusions> <dependency>
<exclusion> <groupId>io.netty</groupId>
<artifactId>guice</artifactId> <artifactId>netty-all</artifactId>
<groupId>com.google.inject</groupId> <version>4.0.23.Final</version>
</exclusion> </dependency>
<exclusion> <dependency>
<artifactId>slf4j-api</artifactId> <groupId>com.google.code.gson</groupId>
<groupId>org.slf4j</groupId> <artifactId>gson</artifactId>
</exclusion> <version>1.6</version>
<exclusion> </dependency>
<artifactId>commons-logging</artifactId> <!-- cat //End-->
<groupId>commons-logging</groupId>
</exclusion> <!-- Ads client library dependencies -->
</exclusions> <dependency>
</dependency> <groupId>com.google.api-ads</groupId>
<dependency> <artifactId>ads-lib</artifactId>
<groupId>com.google.api-ads</groupId> <version>3.9.0</version>
<artifactId>adwords-axis</artifactId> <exclusions>
<version>3.9.0</version> <exclusion>
<exclusions> <artifactId>guice</artifactId>
<exclusion> <groupId>com.google.inject</groupId>
<artifactId>commons-logging</artifactId> </exclusion>
<groupId>commons-logging</groupId> <exclusion>
</exclusion> <artifactId>slf4j-api</artifactId>
</exclusions> <groupId>org.slf4j</groupId>
</dependency> </exclusion>
<exclusion>
<!-- Third party dependencies --> <artifactId>commons-logging</artifactId>
<dependency> <groupId>commons-logging</groupId>
<groupId>com.google.http-client</groupId> </exclusion>
<artifactId>google-http-client-jackson2</artifactId> </exclusions>
<version>1.22.0</version> </dependency>
<exclusions> <dependency>
<exclusion> <groupId>com.google.api-ads</groupId>
<artifactId>jackson-core</artifactId> <artifactId>adwords-axis</artifactId>
<groupId>com.fasterxml.jackson.core</groupId> <version>3.9.0</version>
</exclusion> <exclusions>
<exclusion> <exclusion>
<artifactId>httpclient</artifactId> <artifactId>commons-logging</artifactId>
<groupId>org.apache.httpcomponents</groupId> <groupId>commons-logging</groupId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
<dependency>
<groupId>com.beust</groupId> <!-- Third party dependencies -->
<artifactId>jcommander</artifactId> <dependency>
<version>1.48</version> <groupId>com.google.http-client</groupId>
</dependency> <artifactId>google-http-client-jackson2</artifactId>
</dependencies> <version>1.22.0</version>
<exclusions>
<!-- 配置构建 --> <exclusion>
<build> <artifactId>jackson-core</artifactId>
<finalName>manager</finalName> <groupId>com.fasterxml.jackson.core</groupId>
<sourceDirectory>src/main/java</sourceDirectory> </exclusion>
<resources> <exclusion>
<resource> <artifactId>httpclient</artifactId>
<directory>src/main/resources</directory> <groupId>org.apache.httpcomponents</groupId>
<filtering>true</filtering> </exclusion>
<includes> </exclusions>
<include>**/*.*</include> </dependency>
</includes> <dependency>
<excludes> <groupId>com.beust</groupId>
<exclude>**/*.dat</exclude> <artifactId>jcommander</artifactId>
</excludes> <version>1.48</version>
</resource> </dependency>
<resource> </dependencies>
<directory>src/main/resources</directory>
<includes> <!-- 配置构建 -->
<include>**/*.dat</include> <build>
</includes> <finalName>manager</finalName>
</resource> <sourceDirectory>src/main/java</sourceDirectory>
<resource> <resources>
<directory>src/main/resources/logback/${label}</directory> <resource>
</resource> <directory>src/main/resources</directory>
</resources> <filtering>true</filtering>
<includes>
<plugins> <include>**/*.*</include>
<plugin> </includes>
<groupId>org.apache.maven.plugins</groupId> <excludes>
<artifactId>maven-compiler-plugin</artifactId> <exclude>**/*.dat</exclude>
<version>3.1</version> </excludes>
<configuration> </resource>
<encoding>UTF-8</encoding> <resource>
<source>1.8</source> <directory>src/main/resources</directory>
<target>1.8</target> <includes>
<showWarnings>true</showWarnings> <include>**/*.dat</include>
</configuration> </includes>
</plugin> </resource>
<resource>
<plugin> <directory>src/main/resources/logback/${label}</directory>
<groupId>org.apache.maven.plugins</groupId> </resource>
<artifactId>maven-surefire-plugin</artifactId> </resources>
<version>2.19</version>
<configuration> <plugins>
<skipTests>true</skipTests> <plugin>
</configuration> <groupId>org.apache.maven.plugins</groupId>
</plugin> <artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<plugin> <configuration>
<groupId>org.apache.maven.plugins</groupId> <encoding>UTF-8</encoding>
<artifactId>maven-war-plugin</artifactId> <source>1.8</source>
<version>2.6</version> <target>1.8</target>
</plugin> <showWarnings>true</showWarnings>
</configuration>
<plugin> </plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId> <plugin>
<version>${maven.jetty.version}</version> <groupId>org.apache.maven.plugins</groupId>
<configuration> <artifactId>maven-surefire-plugin</artifactId>
<httpConnector> <version>2.19</version>
<port>8082</port> <configuration>
</httpConnector> <skipTests>true</skipTests>
<webAppConfig> </configuration>
<defaultsDescriptor>src/main/resources/webdefault.xml</defaultsDescriptor> </plugin>
</webAppConfig>
</configuration> <plugin>
</plugin> <groupId>org.apache.maven.plugins</groupId>
</plugins> <artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
</build> </plugin>
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${maven.jetty.version}</version>
<configuration>
<httpConnector>
<port>8082</port>
</httpConnector>
<webAppConfig>
<defaultsDescriptor>src/main/resources/webdefault.xml</defaultsDescriptor>
</webAppConfig>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>
\ No newline at end of file
...@@ -113,4 +113,7 @@ public class LoginController { ...@@ -113,4 +113,7 @@ public class LoginController {
return ResultModel.OK(true); return ResultModel.OK(true);
} }
} }
...@@ -353,5 +353,10 @@ public class UserServiceImpl implements UserService { ...@@ -353,5 +353,10 @@ public class UserServiceImpl implements UserService {
return result; return result;
} }
public static void main(String[] args) {
System.out.println(CipherUtil.generatePassword("111111"));
}
} }
package track.service.impl; package track.service.impl;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;
import tkio.model.AccountRestrict4Web;
import track.model.Account; import track.model.Account;
import track.model.App; import track.model.App;
import track.repository.MeasureRepository; import track.repository.MeasureRepository;
import track.repository.TrackAppRepository; import track.repository.TrackAppRepository;
import track.service.TrackAccountFlowRestrictService; import track.service.TrackAccountFlowRestrictService;
import util.Constant;
import util.DateUtil; import util.DateUtil;
import util.HttpClientUtil;
import util.ValidateUtil; import util.ValidateUtil;
import java.math.BigDecimal;
import java.math.BigInteger; import java.math.BigInteger;
import java.text.DecimalFormat; import java.util.ArrayList;
import java.text.SimpleDateFormat; import java.util.List;
import java.util.*;
/** /**
* Created by song on 2017/10/19. * Created by song on 2017/10/19.
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" <beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context" xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jpa="http://www.springframework.org/schema/data/jpa" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:jpa="http://www.springframework.org/schema/data/jpa"
xmlns:p="http://www.springframework.org/schema/p" xmlns:p="http://www.springframework.org/schema/p"
xmlns:aop="http://www.springframework.org/schema/aop" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd" http://www.springframework.org/schema/data/jpa http://www.springframework.org/schema/data/jpa/spring-jpa.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd"
default-lazy-init="true"> default-lazy-init="true">
<description>Spring公共配置</description> <description>Spring公共配置</description>
<aop:aspectj-autoproxy proxy-target-class="true"/> <aop:aspectj-autoproxy proxy-target-class="true"/>
<context:component-scan base-package="tkio" /> <context:component-scan base-package="tkio"/>
<context:component-scan base-package="track" /> <context:component-scan base-package="track"/>
<context:component-scan base-package="userio" /> <context:component-scan base-package="userio"/>
<context:component-scan base-package="common" /> <context:component-scan base-package="common"/>
<context:component-scan base-package="office" /> <context:component-scan base-package="office"/>
<context:component-scan base-package="dmp" /> <context:component-scan base-package="dmp"/>
<context:component-scan base-package="security" /> <context:component-scan base-package="security"/>
<context:component-scan base-package="adi" /> <context:component-scan base-package="adi"/>
<context:property-placeholder location="classpath:persistence.properties,classpath:redis.properties"/> <context:property-placeholder location="classpath:persistence.properties,classpath:redis.properties"/>
<!--Redis配置--> <!--Redis配置-->
<bean id="poolConfig" class="redis.clients.jedis.JedisPoolConfig"> <bean id="poolConfig" class="redis.clients.jedis.JedisPoolConfig">
<property name="maxIdle" value="300" /> <property name="maxIdle" value="300"/>
<property name="maxTotal" value="600" /> <property name="maxTotal" value="600"/>
<property name="maxWaitMillis" value="1000"></property> <property name="maxWaitMillis" value="1000"></property>
<property name="testOnBorrow" value="true" /> <property name="testOnBorrow" value="true"/>
</bean> </bean>
<bean id="connectionFactory" class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory" p:hostName="${redis.Surl.host}" p:port="${redis.Surl.port}" p:poolConfig-ref="poolConfig"/> <bean id="connectionFactory" class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory"
p:hostName="${redis.Surl.host}" p:port="${redis.Surl.port}" p:poolConfig-ref="poolConfig"/>
<bean id="redisTemplate" class="org.springframework.data.redis.core.StringRedisTemplate">
<property name="connectionFactory" ref="connectionFactory" /> <bean id="redisTemplate" class="org.springframework.data.redis.core.StringRedisTemplate">
</bean> <property name="connectionFactory" ref="connectionFactory"/>
<!--//Redis配置 --> </bean>
<!--//Redis配置 -->
<bean id="parentDataSource" class="com.alibaba.druid.pool.DruidDataSource" destroy-method="close">
<property name="driverClassName" value="${dataSource.driverClassName}"/> <bean id="parentDataSource" class="com.alibaba.druid.pool.DruidDataSource" destroy-method="close">
<property name="driverClassName" value="${dataSource.driverClassName}"/>
<!-- 配置初始化大小、最小、最大 -->
<property name="initialSize" value="1"/> <!-- 配置初始化大小、最小、最大 -->
<property name="minIdle" value="1"/> <property name="initialSize" value="1"/>
<property name="maxActive" value="20"/> <property name="minIdle" value="1"/>
<property name="maxActive" value="20"/>
<!-- 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 -->
<property name="timeBetweenEvictionRunsMillis" value="60000"/> <!-- 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 -->
<property name="timeBetweenEvictionRunsMillis" value="60000"/>
<!-- 配置一个连接在池中最小生存的时间,单位是毫秒 -->
<property name="minEvictableIdleTimeMillis" value="300000"/> <!-- 配置一个连接在池中最小生存的时间,单位是毫秒 -->
</bean> <property name="minEvictableIdleTimeMillis" value="300000"/>
</bean>
<bean id="dataSource" parent="parentDataSource">
<property name="url" value="${default.dataSource.url}"/> <bean id="dataSource" parent="parentDataSource">
<property name="username" value="${default.dataSource.username}"/> <property name="url" value="${default.dataSource.url}"/>
<property name="password" value="${default.dataSource.password}"/> <property name="username" value="${default.dataSource.username}"/>
</bean> <property name="password" value="${default.dataSource.password}"/>
<bean id="officeDataSource" parent="parentDataSource"> </bean>
<property name="url" value="${office.dataSource.url}"/> <bean id="officeDataSource" parent="parentDataSource">
<property name="username" value="${office.dataSource.username}"/> <property name="url" value="${office.dataSource.url}"/>
<property name="password" value="${office.dataSource.password}"/> <property name="username" value="${office.dataSource.username}"/>
</bean> <property name="password" value="${office.dataSource.password}"/>
<bean id="tkioDataSource" parent="parentDataSource"> </bean>
<property name="url" value="${tkio.dataSource.url}"/> <bean id="tkioDataSource" parent="parentDataSource">
<property name="username" value="${tkio.dataSource.username}"/> <property name="url" value="${tkio.dataSource.url}"/>
<property name="password" value="${tkio.dataSource.password}"/> <property name="username" value="${tkio.dataSource.username}"/>
</bean> <property name="password" value="${tkio.dataSource.password}"/>
<bean id="trackDataSource" parent="parentDataSource"> </bean>
<property name="url" value="${track.dataSource.url}"/> <bean id="trackDataSource" parent="parentDataSource">
<property name="username" value="${track.dataSource.username}"/> <property name="url" value="${track.dataSource.url}"/>
<property name="password" value="${track.dataSource.password}"/> <property name="username" value="${track.dataSource.username}"/>
</bean> <property name="password" value="${track.dataSource.password}"/>
<bean id="dmpDataSource" parent="parentDataSource"> </bean>
<property name="url" value="${dmp.dataSource.url}"/> <bean id="dmpDataSource" parent="parentDataSource">
<property name="username" value="${dmp.dataSource.username}"/> <property name="url" value="${dmp.dataSource.url}"/>
<property name="password" value="${dmp.dataSource.password}"/> <property name="username" value="${dmp.dataSource.username}"/>
</bean> <property name="password" value="${dmp.dataSource.password}"/>
<bean id="ioDataSource" parent="parentDataSource"> </bean>
<property name="url" value="${io.dataSource.url}"/> <bean id="ioDataSource" parent="parentDataSource">
<property name="username" value="${io.dataSource.username}"/> <property name="url" value="${io.dataSource.url}"/>
<property name="password" value="${io.dataSource.password}"/> <property name="username" value="${io.dataSource.username}"/>
</bean> <property name="password" value="${io.dataSource.password}"/>
</bean>
<!-- JPA实体管理工厂的配置 -->
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <!-- JPA实体管理工厂的配置 -->
<property name="dataSource" ref="dataSource"/> <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="packagesToScan" value="common.model"> <property name="dataSource" ref="dataSource"/>
</property> <property name="packagesToScan" value="common.model">
<property name="persistenceUnitName" value="defaultUnit" /> </property>
<property name="persistenceUnitName" value="defaultUnit"/>
<property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<property name="jpaProperties"> <property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<props> <property name="jpaProperties">
<prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop> <props>
<prop key="hibernate.show_sql">false</prop> <prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none --> <prop key="hibernate.show_sql">false</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none -->
<prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.characterEncoding">utf8</prop> <prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.useUnicode">true</prop> <prop key="hibernate.connection.characterEncoding">utf8</prop>
</props> <prop key="hibernate.connection.useUnicode">true</prop>
</property> </props>
</bean> </property>
<bean id="officeEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> </bean>
<property name="dataSource" ref="officeDataSource"/> <bean id="officeEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="packagesToScan" value="office.model"></property> <property name="dataSource" ref="officeDataSource"/>
<property name="persistenceUnitName" value="officeUnit" /> <property name="packagesToScan" value="office.model"></property>
<property name="persistenceUnitName" value="officeUnit"/>
<property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<property name="jpaProperties"> <property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<props> <property name="jpaProperties">
<prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop> <props>
<prop key="hibernate.show_sql">false</prop> <prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none --> <prop key="hibernate.show_sql">false</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none -->
<prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.characterEncoding">utf8</prop> <prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.useUnicode">true</prop> <prop key="hibernate.connection.characterEncoding">utf8</prop>
</props> <prop key="hibernate.connection.useUnicode">true</prop>
</property> </props>
</bean> </property>
<bean id="tkioEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> </bean>
<property name="dataSource" ref="tkioDataSource"/> <bean id="tkioEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="packagesToScan" value="tkio.model"></property> <property name="dataSource" ref="tkioDataSource"/>
<property name="persistenceUnitName" value="tkioUnit" /> <property name="packagesToScan" value="tkio.model"></property>
<property name="persistenceUnitName" value="tkioUnit"/>
<property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<property name="jpaProperties"> <property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<props> <property name="jpaProperties">
<prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop> <props>
<prop key="hibernate.show_sql">false</prop> <prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none --> <prop key="hibernate.show_sql">false</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none -->
<prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.characterEncoding">utf8</prop> <prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.useUnicode">true</prop> <prop key="hibernate.connection.characterEncoding">utf8</prop>
</props> <prop key="hibernate.connection.useUnicode">true</prop>
</property> </props>
</bean> </property>
<bean id="trackEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> </bean>
<property name="dataSource" ref="trackDataSource"/> <bean id="trackEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="packagesToScan" value="track.model"></property> <property name="dataSource" ref="trackDataSource"/>
<property name="persistenceUnitName" value="tkrackUnit" /> <property name="packagesToScan" value="track.model"></property>
<property name="persistenceUnitName" value="tkrackUnit"/>
<property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<property name="jpaProperties"> <property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<props> <property name="jpaProperties">
<prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop> <props>
<prop key="hibernate.show_sql">false</prop> <prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none --> <prop key="hibernate.show_sql">false</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none -->
<prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.characterEncoding">utf8</prop> <prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.useUnicode">true</prop> <prop key="hibernate.connection.characterEncoding">utf8</prop>
</props> <prop key="hibernate.connection.useUnicode">true</prop>
</property> </props>
</bean> </property>
<bean id="dmpEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> </bean>
<property name="dataSource" ref="dmpDataSource"/> <bean id="dmpEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="packagesToScan" value="dmp.model"></property> <property name="dataSource" ref="dmpDataSource"/>
<property name="persistenceUnitName" value="dmpUnit" /> <property name="packagesToScan" value="dmp.model"></property>
<property name="persistenceUnitName" value="dmpUnit"/>
<property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<property name="jpaProperties"> <property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<props> <property name="jpaProperties">
<prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop> <props>
<prop key="hibernate.show_sql">false</prop> <prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none --> <prop key="hibernate.show_sql">false</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none -->
<prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.characterEncoding">utf8</prop> <prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.useUnicode">true</prop> <prop key="hibernate.connection.characterEncoding">utf8</prop>
</props> <prop key="hibernate.connection.useUnicode">true</prop>
</property> </props>
</bean> </property>
<bean id="ioEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> </bean>
<property name="dataSource" ref="ioDataSource"/> <bean id="ioEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
<property name="packagesToScan" value="userio.model"></property> <property name="dataSource" ref="ioDataSource"/>
<property name="persistenceUnitName" value="ioUnit" /> <property name="packagesToScan" value="userio.model"></property>
<property name="persistenceUnitName" value="ioUnit"/>
<property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<property name="jpaProperties"> <property name="jpaVendorAdapter" ref="hibernateJpaVendorAdapter"/>
<props> <property name="jpaProperties">
<prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop> <props>
<prop key="hibernate.show_sql">false</prop> <prop key="hibernate.ejb.naming_strategy">org.hibernate.cfg.ImprovedNamingStrategy</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none --> <prop key="hibernate.show_sql">false</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop><!-- none -->
<prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.characterEncoding">utf8</prop> <prop key="hibernate.connection.CharSet">utf8</prop>
<prop key="hibernate.connection.useUnicode">true</prop> <prop key="hibernate.connection.characterEncoding">utf8</prop>
</props> <prop key="hibernate.connection.useUnicode">true</prop>
</property> </props>
</bean> </property>
</bean>
<!--指定实现JPA的适配器 -->
<bean id="hibernateJpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"> <!--指定实现JPA的适配器 -->
<property name="databasePlatform" value="org.hibernate.dialect.MySQLDialect"/> <bean id="hibernateJpaVendorAdapter" class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
</bean> <property name="databasePlatform" value="org.hibernate.dialect.MySQLDialect"/>
</bean>
<!-- Jpa 事务配置 -->
<bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> <!-- Jpa 事务配置 -->
<property name="entityManagerFactory" ref="entityManagerFactory"/> <bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
</bean> <property name="entityManagerFactory" ref="entityManagerFactory"/>
<bean id="officeTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> </bean>
<property name="entityManagerFactory" ref="officeEntityManagerFactory"/> <bean id="officeTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
</bean> <property name="entityManagerFactory" ref="officeEntityManagerFactory"/>
<bean id="tkioTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> </bean>
<property name="entityManagerFactory" ref="tkioEntityManagerFactory"/> <bean id="tkioTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
</bean> <property name="entityManagerFactory" ref="tkioEntityManagerFactory"/>
<bean id="trackTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> </bean>
<property name="entityManagerFactory" ref="trackEntityManagerFactory"/> <bean id="trackTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
</bean> <property name="entityManagerFactory" ref="trackEntityManagerFactory"/>
<bean id="dmpTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> </bean>
<property name="entityManagerFactory" ref="dmpEntityManagerFactory"/> <bean id="dmpTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
</bean> <property name="entityManagerFactory" ref="dmpEntityManagerFactory"/>
<bean id="ioTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"> </bean>
<property name="entityManagerFactory" ref="ioEntityManagerFactory"/> <bean id="ioTransactionManager" class="org.springframework.orm.jpa.JpaTransactionManager">
</bean> <property name="entityManagerFactory" ref="ioEntityManagerFactory"/>
</bean>
<!-- Spring Data Jpa配置 -->
<jpa:repositories base-package="common.repository" <!-- Spring Data Jpa配置 -->
repository-impl-postfix="Impl" transaction-manager-ref="transactionManager" <jpa:repositories base-package="common.repository"
entity-manager-factory-ref="entityManagerFactory"/> repository-impl-postfix="Impl" transaction-manager-ref="transactionManager"
<jpa:repositories base-package="office.repository" entity-manager-factory-ref="entityManagerFactory"/>
repository-impl-postfix="Impl" transaction-manager-ref="officeTransactionManager" <jpa:repositories base-package="office.repository"
entity-manager-factory-ref="officeEntityManagerFactory"/> repository-impl-postfix="Impl" transaction-manager-ref="officeTransactionManager"
<jpa:repositories base-package="tkio.repository" entity-manager-factory-ref="officeEntityManagerFactory"/>
repository-impl-postfix="Impl" transaction-manager-ref="tkioTransactionManager" <jpa:repositories base-package="tkio.repository"
entity-manager-factory-ref="tkioEntityManagerFactory"/> repository-impl-postfix="Impl" transaction-manager-ref="tkioTransactionManager"
<jpa:repositories base-package="track.repository" entity-manager-factory-ref="tkioEntityManagerFactory"/>
repository-impl-postfix="Impl" transaction-manager-ref="trackTransactionManager" <jpa:repositories base-package="track.repository"
entity-manager-factory-ref="trackEntityManagerFactory"/> repository-impl-postfix="Impl" transaction-manager-ref="trackTransactionManager"
<jpa:repositories base-package="dmp.repository" entity-manager-factory-ref="trackEntityManagerFactory"/>
repository-impl-postfix="Impl" transaction-manager-ref="dmpTransactionManager" <jpa:repositories base-package="dmp.repository"
entity-manager-factory-ref="dmpEntityManagerFactory"/> repository-impl-postfix="Impl" transaction-manager-ref="dmpTransactionManager"
<jpa:repositories base-package="userio.repository" entity-manager-factory-ref="dmpEntityManagerFactory"/>
repository-impl-postfix="Impl" transaction-manager-ref="ioTransactionManager" <jpa:repositories base-package="userio.repository"
entity-manager-factory-ref="ioEntityManagerFactory"/> repository-impl-postfix="Impl" transaction-manager-ref="ioTransactionManager"
entity-manager-factory-ref="ioEntityManagerFactory"/>
<!-- 使用annotation定义事务 -->
<tx:annotation-driven transaction-manager="transactionManager" proxy-target-class="true"/> <!-- 使用annotation定义事务 -->
<tx:annotation-driven transaction-manager="officeTransactionManager" proxy-target-class="true"/> <tx:annotation-driven transaction-manager="transactionManager" proxy-target-class="true"/>
<tx:annotation-driven transaction-manager="tkioTransactionManager" proxy-target-class="true"/> <tx:annotation-driven transaction-manager="officeTransactionManager" proxy-target-class="true"/>
<tx:annotation-driven transaction-manager="trackTransactionManager" proxy-target-class="true"/> <tx:annotation-driven transaction-manager="tkioTransactionManager" proxy-target-class="true"/>
<tx:annotation-driven transaction-manager="dmpTransactionManager" proxy-target-class="true"/> <tx:annotation-driven transaction-manager="trackTransactionManager" proxy-target-class="true"/>
<tx:annotation-driven transaction-manager="ioTransactionManager" proxy-target-class="true"/> <tx:annotation-driven transaction-manager="dmpTransactionManager" proxy-target-class="true"/>
<tx:annotation-driven transaction-manager="ioTransactionManager" proxy-target-class="true"/>
<tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:attributes> <tx:advice id="txAdvice" transaction-manager="transactionManager">
<tx:method name="report*" propagation="SUPPORTS" read-only="true"/> <tx:attributes>
<tx:method name="list*" propagation="SUPPORTS" read-only="true"/> <tx:method name="report*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="query*" propagation="SUPPORTS" read-only="true"/> <tx:method name="list*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="find*" propagation="SUPPORTS" read-only="true"/> <tx:method name="query*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/> <tx:method name="find*" propagation="SUPPORTS" read-only="true"/>
</tx:attributes> <tx:method name="*" propagation="REQUIRED"/>
</tx:advice> </tx:attributes>
</tx:advice>
<tx:advice id="officeTxAdvice" transaction-manager="officeTransactionManager">
<tx:attributes> <tx:advice id="officeTxAdvice" transaction-manager="officeTransactionManager">
<tx:method name="report*" propagation="SUPPORTS" read-only="true"/> <tx:attributes>
<tx:method name="list*" propagation="SUPPORTS" read-only="true"/> <tx:method name="report*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="query*" propagation="SUPPORTS" read-only="true"/> <tx:method name="list*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="find*" propagation="SUPPORTS" read-only="true"/> <tx:method name="query*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/> <tx:method name="find*" propagation="SUPPORTS" read-only="true"/>
</tx:attributes> <tx:method name="*" propagation="REQUIRED"/>
</tx:advice> </tx:attributes>
<tx:advice id="tkioTxAdvice" transaction-manager="tkioTransactionManager"> </tx:advice>
<tx:attributes> <tx:advice id="tkioTxAdvice" transaction-manager="tkioTransactionManager">
<tx:method name="report*" propagation="SUPPORTS" read-only="true"/> <tx:attributes>
<tx:method name="list*" propagation="SUPPORTS" read-only="true"/> <tx:method name="report*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="query*" propagation="SUPPORTS" read-only="true"/> <tx:method name="list*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="find*" propagation="SUPPORTS" read-only="true"/> <tx:method name="query*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/> <tx:method name="find*" propagation="SUPPORTS" read-only="true"/>
</tx:attributes> <tx:method name="*" propagation="REQUIRED"/>
</tx:advice> </tx:attributes>
<tx:advice id="trackTxAdvice" transaction-manager="trackTransactionManager"> </tx:advice>
<tx:attributes> <tx:advice id="trackTxAdvice" transaction-manager="trackTransactionManager">
<tx:method name="report*" propagation="SUPPORTS" read-only="true"/> <tx:attributes>
<tx:method name="list*" propagation="SUPPORTS" read-only="true"/> <tx:method name="report*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="query*" propagation="SUPPORTS" read-only="true"/> <tx:method name="list*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="find*" propagation="SUPPORTS" read-only="true"/> <tx:method name="query*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/> <tx:method name="find*" propagation="SUPPORTS" read-only="true"/>
</tx:attributes> <tx:method name="*" propagation="REQUIRED"/>
</tx:advice> </tx:attributes>
<tx:advice id="dmpTxAdvice" transaction-manager="dmpTransactionManager"> </tx:advice>
<tx:attributes> <tx:advice id="dmpTxAdvice" transaction-manager="dmpTransactionManager">
<tx:method name="report*" propagation="SUPPORTS" read-only="true"/> <tx:attributes>
<tx:method name="list*" propagation="SUPPORTS" read-only="true"/> <tx:method name="report*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="query*" propagation="SUPPORTS" read-only="true"/> <tx:method name="list*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="find*" propagation="SUPPORTS" read-only="true"/> <tx:method name="query*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/> <tx:method name="find*" propagation="SUPPORTS" read-only="true"/>
</tx:attributes> <tx:method name="*" propagation="REQUIRED"/>
</tx:advice> </tx:attributes>
<tx:advice id="ioTxAdvice" transaction-manager="ioTransactionManager"> </tx:advice>
<tx:attributes> <tx:advice id="ioTxAdvice" transaction-manager="ioTransactionManager">
<tx:method name="report*" propagation="SUPPORTS" read-only="true"/> <tx:attributes>
<tx:method name="list*" propagation="SUPPORTS" read-only="true"/> <tx:method name="report*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="query*" propagation="SUPPORTS" read-only="true"/> <tx:method name="list*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="find*" propagation="SUPPORTS" read-only="true"/> <tx:method name="query*" propagation="SUPPORTS" read-only="true"/>
<tx:method name="*" propagation="REQUIRED"/> <tx:method name="find*" propagation="SUPPORTS" read-only="true"/>
</tx:attributes> <tx:method name="*" propagation="REQUIRED"/>
</tx:advice> </tx:attributes>
</tx:advice>
<aop:config expose-proxy="true">
<aop:pointcut id="txPointcut" expression="execution(* common.service.*.*(..))"/> <aop:config expose-proxy="true">
<aop:advisor advice-ref="txAdvice" pointcut-ref="txPointcut"/> <aop:pointcut id="txPointcut" expression="execution(* common.service.*.*(..))"/>
</aop:config> <aop:advisor advice-ref="txAdvice" pointcut-ref="txPointcut"/>
<aop:config expose-proxy="true"> </aop:config>
<aop:pointcut id="officetxPointcut" expression="execution(* office.service.*.*(..))"/> <aop:config expose-proxy="true">
<aop:advisor advice-ref="officeTxAdvice" pointcut-ref="officetxPointcut"/> <aop:pointcut id="officetxPointcut" expression="execution(* office.service.*.*(..))"/>
</aop:config> <aop:advisor advice-ref="officeTxAdvice" pointcut-ref="officetxPointcut"/>
<aop:config expose-proxy="true"> </aop:config>
<aop:pointcut id="tkiotxPointcut" expression="execution(* tkio.service.*.*(..))"/> <aop:config expose-proxy="true">
<aop:advisor advice-ref="tkioTxAdvice" pointcut-ref="tkiotxPointcut"/> <aop:pointcut id="tkiotxPointcut" expression="execution(* tkio.service.*.*(..))"/>
</aop:config> <aop:advisor advice-ref="tkioTxAdvice" pointcut-ref="tkiotxPointcut"/>
<aop:config expose-proxy="true"> </aop:config>
<aop:pointcut id="tracktxPointcut" expression="execution(* track.service.*.*(..))"/> <aop:config expose-proxy="true">
<aop:advisor advice-ref="trackTxAdvice" pointcut-ref="tracktxPointcut"/> <aop:pointcut id="tracktxPointcut" expression="execution(* track.service.*.*(..))"/>
</aop:config> <aop:advisor advice-ref="trackTxAdvice" pointcut-ref="tracktxPointcut"/>
<aop:config expose-proxy="true"> </aop:config>
<aop:pointcut id="iotxPointcut" expression="execution(* userio.service.*.*(..))"/> <aop:config expose-proxy="true">
<aop:advisor advice-ref="ioTxAdvice" pointcut-ref="iotxPointcut"/> <aop:pointcut id="iotxPointcut" expression="execution(* userio.service.*.*(..))"/>
</aop:config> <aop:advisor advice-ref="ioTxAdvice" pointcut-ref="iotxPointcut"/>
</aop:config>
<!-- SpringMVC上传文件时,需要配置MultipartResolver处理器 --> <!-- SpringMVC上传文件时,需要配置MultipartResolver处理器 -->
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"> <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
...@@ -337,5 +338,5 @@ ...@@ -337,5 +338,5 @@
<property name="maxUploadSize" value="2000000"/> <property name="maxUploadSize" value="2000000"/>
</bean> </bean>
<bean id="appUtils" class="common.context.AppUtils" lazy-init="false" /> <bean id="appUtils" class="common.context.AppUtils" lazy-init="false"/>
</beans> </beans>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment