Bladeren bron

优化代码

java110 4 jaren geleden
bovenliggende
commit
3c9d55cfdd

+ 1 - 1
java110-interface/src/main/java/com/java110/intf/community/ICommunitySpaceOpenTimeV1InnerServiceSMO.java

@@ -40,7 +40,7 @@ public interface ICommunitySpaceOpenTimeV1InnerServiceSMO {
 
     @RequestMapping(value = "/saveCommunitySpaceOpenTime", method = RequestMethod.POST)
     public int saveCommunitySpaceOpenTime(@RequestBody  CommunitySpaceOpenTimePo communitySpaceOpenTimePo);
-    @RequestMapping(value = "/saveCommunitySpaceOpenTime", method = RequestMethod.POST)
+    @RequestMapping(value = "/saveCommunitySpaceOpenTimes", method = RequestMethod.POST)
     public int saveCommunitySpaceOpenTimes(@RequestBody  List<CommunitySpaceOpenTimePo> communitySpaceOpenTimePos);
 
     @RequestMapping(value = "/updateCommunitySpaceOpenTime", method = RequestMethod.POST)

+ 0 - 38
service-acct/pom.xml

@@ -25,42 +25,4 @@
       <artifactId>alipay-sdk-java</artifactId>
     </dependency>
   </dependencies>
-  <build>
-    <finalName>service-acct</finalName>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <version>2.10</version>
-        <executions>
-          <execution>
-            <id>unpack</id>
-            <phase>generate-resources</phase>
-            <goals>
-              <goal>unpack</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>com.java110</groupId>
-                  <artifactId>java110-interface</artifactId>
-                  <version>${microcommunity.version}</version>
-                  <type>jar</type>
-                  <overWrite>true</overWrite>
-                  <outputDirectory>${project.build.directory}/classes</outputDirectory>
-                </artifactItem>
-              </artifactItems>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
-        <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-maven-plugin</artifactId>
-        <configuration>
-          <mainClass>com.java110.acct.AcctServiceApplicationStart</mainClass>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
 </project>

+ 0 - 38
service-common/pom.xml

@@ -60,42 +60,4 @@
             <version>1.7</version>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-common</finalName>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.10</version>
-                <executions>
-                    <execution>
-                        <id>unpack</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>com.java110</groupId>
-                                    <artifactId>java110-interface</artifactId>
-                                    <version>${microcommunity.version}</version>
-                                    <type>jar</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-maven-plugin</artifactId>
-                <configuration>
-                    <mainClass>com.java110.common.CommonServiceApplicationStart</mainClass>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 </project>

+ 0 - 38
service-community/pom.xml

@@ -22,42 +22,4 @@
             <artifactId>java110-service</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-community</finalName>
-	        <plugins>
-	            <plugin>
-	                <groupId>org.apache.maven.plugins</groupId>
-	                <artifactId>maven-dependency-plugin</artifactId>
-	                <version>2.10</version>
-	                <executions>
-	                    <execution>
-	                        <id>unpack</id>
-	                        <phase>generate-resources</phase>
-	                        <goals>
-	                            <goal>unpack</goal>
-	                        </goals>
-	                        <configuration>
-	                            <artifactItems>
-	                                <artifactItem>
-	                                    <groupId>com.java110</groupId>
-	                                    <artifactId>java110-interface</artifactId>
-	                                    <version>${microcommunity.version}</version>
-	                                    <type>jar</type>
-	                                    <overWrite>true</overWrite>
-	                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-	                                </artifactItem>
-	                            </artifactItems>
-	                        </configuration>
-	                    </execution>
-	                </executions>
-	            </plugin>
-	            <plugin>
-	                <groupId>org.springframework.boot</groupId>
-	                <artifactId>spring-boot-maven-plugin</artifactId>
-	                <configuration>
-	                    <mainClass>com.java110.community.CommunityServiceApplicationStart</mainClass>
-	                </configuration>
-	            </plugin>
-	        </plugins>
-    </build>
 </project>

+ 0 - 38
service-dev/pom.xml

@@ -21,42 +21,4 @@
             <artifactId>java110-service</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-dev</finalName>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.10</version>
-                <executions>
-                    <execution>
-                        <id>unpack</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>com.java110</groupId>
-                                    <artifactId>java110-interface</artifactId>
-                                    <version>${microcommunity.version}</version>
-                                    <type>jar</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-maven-plugin</artifactId>
-                <configuration>
-                    <mainClass>com.java110.dev.DevServiceApplicationStart</mainClass>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 </project>

+ 0 - 38
service-fee/pom.xml

@@ -22,42 +22,4 @@
             <artifactId>java110-service</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-fee</finalName>
-	        <plugins>
-	            <plugin>
-	                <groupId>org.apache.maven.plugins</groupId>
-	                <artifactId>maven-dependency-plugin</artifactId>
-	                <version>2.10</version>
-	                <executions>
-	                    <execution>
-	                        <id>unpack</id>
-	                        <phase>generate-resources</phase>
-	                        <goals>
-	                            <goal>unpack</goal>
-	                        </goals>
-	                        <configuration>
-	                            <artifactItems>
-	                                <artifactItem>
-	                                    <groupId>com.java110</groupId>
-	                                    <artifactId>java110-interface</artifactId>
-	                                    <version>${microcommunity.version}</version>
-	                                    <type>jar</type>
-	                                    <overWrite>true</overWrite>
-	                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-	                                </artifactItem>
-	                            </artifactItems>
-	                        </configuration>
-	                    </execution>
-	                </executions>
-	            </plugin>
-	            <plugin>
-	                <groupId>org.springframework.boot</groupId>
-	                <artifactId>spring-boot-maven-plugin</artifactId>
-	                <configuration>
-	                    <mainClass>com.java110.fee.FeeServiceApplicationStart</mainClass>
-	                </configuration>
-	            </plugin>
-	        </plugins>
-    </build>
 </project>

+ 0 - 38
service-job/pom.xml

@@ -35,42 +35,4 @@
             <artifactId>spring-boot-starter-thymeleaf</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-job</finalName>
-	        <plugins>
-	            <plugin>
-	                <groupId>org.apache.maven.plugins</groupId>
-	                <artifactId>maven-dependency-plugin</artifactId>
-	                <version>2.10</version>
-	                <executions>
-	                    <execution>
-	                        <id>unpack</id>
-	                        <phase>generate-resources</phase>
-	                        <goals>
-	                            <goal>unpack</goal>
-	                        </goals>
-	                        <configuration>
-	                            <artifactItems>
-	                                <artifactItem>
-	                                    <groupId>com.java110</groupId>
-	                                    <artifactId>java110-interface</artifactId>
-	                                    <version>${microcommunity.version}</version>
-	                                    <type>jar</type>
-	                                    <overWrite>true</overWrite>
-	                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-	                                </artifactItem>
-	                            </artifactItems>
-	                        </configuration>
-	                    </execution>
-	                </executions>
-	            </plugin>
-	            <plugin>
-	                <groupId>org.springframework.boot</groupId>
-	                <artifactId>spring-boot-maven-plugin</artifactId>
-	                <configuration>
-	                    <mainClass>com.java110.job.JobServiceApplication</mainClass>
-	                </configuration>
-	            </plugin>
-	        </plugins>
-    </build>
 </project>

+ 0 - 38
service-oa/pom.xml

@@ -21,42 +21,4 @@
             <artifactId>java110-service</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-oa</finalName>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <version>2.10</version>
-                <executions>
-                    <execution>
-                        <id>unpack</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>com.java110</groupId>
-                                    <artifactId>java110-interface</artifactId>
-                                    <version>${microcommunity.version}</version>
-                                    <type>jar</type>
-                                    <overWrite>true</overWrite>
-                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-maven-plugin</artifactId>
-                <configuration>
-                    <mainClass>com.java110.oa.OaServiceApplicationStart</mainClass>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 </project>

+ 0 - 56
service-order/pom.xml

@@ -36,60 +36,4 @@
             <scope>test</scope>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-order</finalName>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-dependency-plugin</artifactId>
-                    <version>2.10</version>
-                    <executions>
-                        <execution>
-                            <id>unpack</id>
-                            <phase>generate-resources</phase>
-                            <goals>
-                                <goal>unpack</goal>
-                            </goals>
-                            <configuration>
-                                <artifactItems>
-                                    <artifactItem>
-                                        <groupId>com.java110</groupId>
-                                        <artifactId>java110-interface</artifactId>
-                                        <version>${microcommunity.version}</version>
-                                        <type>jar</type>
-                                        <overWrite>true</overWrite>
-                                        <outputDirectory>${project.build.directory}/classes</outputDirectory>
-                                    </artifactItem>
-                                </artifactItems>
-                            </configuration>
-                        </execution>
-                    </executions>
-                </plugin>
-                <plugin>
-                    <groupId>org.springframework.boot</groupId>
-                    <artifactId>spring-boot-maven-plugin</artifactId>
-                    <configuration>
-                        <mainClass>com.java110.order.OrderServiceApplicationStart</mainClass>
-                    </configuration>
-                </plugin>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-javadoc-plugin</artifactId>
-                    <version>2.10.4</version>
-                    <configuration>
-                        <aggregate>true</aggregate>
-                        <reportOutputDirectory>../javadocs</reportOutputDirectory>
-                        <destDir>security-javadoc</destDir>
-                        <javadocExecutable>${java.home}bin/javadoc</javadocExecutable>
-                        <tags>
-                            <tag>
-                                <name>Description</name>
-                                <placement>a</placement>
-                                <head>功能描述:</head>
-                            </tag>
-                        </tags>
-                    </configuration>
-                </plugin>
-            </plugins>
-    </build>
 </project>

+ 0 - 38
service-report/pom.xml

@@ -21,42 +21,4 @@
       <artifactId>java110-service</artifactId>
     </dependency>
   </dependencies>
-  <build>
-    <finalName>service-report</finalName>
-	    <plugins>
-	      <plugin>
-	        <groupId>org.apache.maven.plugins</groupId>
-	        <artifactId>maven-dependency-plugin</artifactId>
-	        <version>2.10</version>
-	        <executions>
-	          <execution>
-	            <id>unpack</id>
-	            <phase>generate-resources</phase>
-	            <goals>
-	              <goal>unpack</goal>
-	            </goals>
-	            <configuration>
-	              <artifactItems>
-	                <artifactItem>
-	                  <groupId>com.java110</groupId>
-	                  <artifactId>java110-interface</artifactId>
-	                  <version>${microcommunity.version}</version>
-	                  <type>jar</type>
-	                  <overWrite>true</overWrite>
-	                  <outputDirectory>${project.build.directory}/classes</outputDirectory>
-	                </artifactItem>
-	              </artifactItems>
-	            </configuration>
-	          </execution>
-	        </executions>
-	      </plugin>
-	      <plugin>
-	        <groupId>org.springframework.boot</groupId>
-	        <artifactId>spring-boot-maven-plugin</artifactId>
-	        <configuration>
-	          <mainClass>com.java110.report.ReportServiceApplicationStart</mainClass>
-	        </configuration>
-	      </plugin>
-	    </plugins>
-  </build>
 </project>

+ 0 - 38
service-store/pom.xml

@@ -19,42 +19,4 @@
             <artifactId>java110-service</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-store</finalName>
-	        <plugins>
-	            <plugin>
-	                <groupId>org.apache.maven.plugins</groupId>
-	                <artifactId>maven-dependency-plugin</artifactId>
-	                <version>2.10</version>
-	                <executions>
-	                    <execution>
-	                        <id>unpack</id>
-	                        <phase>generate-resources</phase>
-	                        <goals>
-	                            <goal>unpack</goal>
-	                        </goals>
-	                        <configuration>
-	                            <artifactItems>
-	                                <artifactItem>
-	                                    <groupId>com.java110</groupId>
-	                                    <artifactId>java110-interface</artifactId>
-	                                    <version>${microcommunity.version}</version>
-	                                    <type>jar</type>
-	                                    <overWrite>true</overWrite>
-	                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-	                                </artifactItem>
-	                            </artifactItems>
-	                        </configuration>
-	                    </execution>
-	                </executions>
-	            </plugin>
-	            <plugin>
-	                <groupId>org.springframework.boot</groupId>
-	                <artifactId>spring-boot-maven-plugin</artifactId>
-	                <configuration>
-	                    <mainClass>com.java110.store.StoreServiceApplicationStart</mainClass>
-	                </configuration>
-	            </plugin>
-	        </plugins>
-    </build>
 </project>

+ 0 - 38
service-user/pom.xml

@@ -21,42 +21,4 @@
             <artifactId>java110-service</artifactId>
         </dependency>
     </dependencies>
-    <build>
-        <finalName>service-user</finalName>
-	        <plugins>
-	            <plugin>
-	                <groupId>org.apache.maven.plugins</groupId>
-	                <artifactId>maven-dependency-plugin</artifactId>
-	                <version>2.10</version>
-	                <executions>
-	                    <execution>
-	                        <id>unpack</id>
-	                        <phase>generate-resources</phase>
-	                        <goals>
-	                            <goal>unpack</goal>
-	                        </goals>
-	                        <configuration>
-	                            <artifactItems>
-	                                <artifactItem>
-	                                    <groupId>com.java110</groupId>
-	                                    <artifactId>java110-interface</artifactId>
-	                                    <version>${microcommunity.version}</version>
-	                                    <type>jar</type>
-	                                    <overWrite>true</overWrite>
-	                                    <outputDirectory>${project.build.directory}/classes</outputDirectory>
-	                                </artifactItem>
-	                            </artifactItems>
-	                        </configuration>
-	                    </execution>
-	                </executions>
-	            </plugin>
-	            <plugin>
-	                <groupId>org.springframework.boot</groupId>
-	                <artifactId>spring-boot-maven-plugin</artifactId>
-	                <configuration>
-	                    <mainClass>com.java110.user.UserServiceApplicationStart</mainClass>
-	                </configuration>
-	            </plugin>
-	        </plugins>
-    </build>
 </project>

+ 4 - 4
springboot/src/main/resources/dataSource-debug.yml

@@ -1,9 +1,9 @@
 dataSources:
   ds0: !!com.alibaba.druid.pool.DruidDataSource
     driverClassName: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://dev.db.java110.com:3306/hc_community?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
+    url: jdbc:mysql://211.149.225.218:3306/hc_community?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
     username: hc_community
-    password: hc12345678
+    password: hc_community@12345678
     minIdle: 5
     validationQuery: SELECT 1 FROM DUAL
     initialSize: 5
@@ -12,9 +12,9 @@ dataSources:
     poolPreparedStatements: true
   ds1: !!com.alibaba.druid.pool.DruidDataSource
     driverClassName: com.mysql.cj.jdbc.Driver
-    url: jdbc:mysql://dev.db.java110.com:3306/TT?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
+    url: jdbc:mysql://211.149.225.218:3306/TT?useUnicode=true&characterEncoding=utf-8&serverTimezone=GMT%2B8
     username: TT
-    password: hc12345678
+    password: TT@12345678
     minIdle: 5
     validationQuery: SELECT 1 FROM DUAL
     initialSize: 5