Browse Source

修改环境配置

sbj 3 weeks ago
parent
commit
8a0577a9ae

+ 7 - 0
pom.xml

@@ -287,6 +287,13 @@
                 <profiles.active>dev</profiles.active>
             </properties>
         </profile>
+        <profile>
+            <!-- 发布环境 -->
+            <id>pro</id>
+            <properties>
+                <profiles.active>pro</profiles.active>
+            </properties>
+        </profile>
         <profile>
             <!-- 测试环境 -->
             <id>test</id>

+ 0 - 5
src/main/java/com/shcd/controller/ShorePowerController.java

@@ -400,11 +400,6 @@ public class ShorePowerController {
       String berthId = (String) map.get("berthId");
       String page = (String) map.get("current");
       String limit = (String) map.get("size");
-//      String portId = "";
-//      String deviceId = "";
-//      String berthId = "";
-//      String page = "1";
-//      String limit = "500";
       String result = executeConnRecordInfoUrl(portId, deviceId, berthId, page, limit);
       log.info("连船记录信息查询查询接口调用成功! ===>返回结果:{}",
           JSONObject.toJSONString(result));

File diff suppressed because it is too large
+ 1205 - 1160
src/main/java/com/shcd/scheduling/ShorePowerScheduler.java