LingxinMeng 1 năm trước cách đây
mục cha
commit
218bd7aee6

+ 0 - 1
simulation-resource-server/src/main/java/com/css/simulation/resource/server/SimulationResourceServerApplication.java

@@ -19,6 +19,5 @@ public class SimulationResourceServerApplication {
 
 
     public static void main(String[] args) {
     public static void main(String[] args) {
         SpringApplication.run(SimulationResourceServerApplication.class, args);
         SpringApplication.run(SimulationResourceServerApplication.class, args);
-        System.out.println("-------------启动成功----------------");
     }
     }
 }
 }

+ 13 - 0
simulation-resource-server/src/main/resources/bootstrap-mlx.yaml

@@ -0,0 +1,13 @@
+# 国汽私有云
+spring:
+  cloud:
+    nacos:
+      discovery:
+        server-addr: 36.110.106.156:8848
+        namespace: 3698bfc2-a612-487a-b2a2-aaad16cd9d9d
+        group: 36.110.106.156
+      config:
+        server-addr: 36.110.106.156:8848
+        namespace: 3698bfc2-a612-487a-b2a2-aaad16cd9d9d
+        file-extension: yaml
+        group: mlx

+ 1 - 13
simulation-resource-server/src/main/resources/bootstrap.yaml

@@ -5,16 +5,4 @@ spring:
     active: dev
     active: dev
   jackson:
   jackson:
     time-zone: GMT+8
     time-zone: GMT+8
-    date-format: yyyy-MM-dd HH:mm:ss
-
-# 分页插件配置
-pagehelper:
-  helperDialect: mysql
-  reasonable: true
-  supportMethodsArguments: true
-  params: count=countSql
-
-mybatis:
-  mapper-locations: classpath:/mapper/*/*.xml
-  configuration:
-    map-underscore-to-camel-case: true
+    date-format: yyyy-MM-dd HH:mm:ss

+ 1 - 2
simulation-resource-server/src/main/resources/mysql/mapper/AlgorithmMapper.xml

@@ -45,8 +45,7 @@
     </insert>
     </insert>
 
 
     <!--查询算法详情-->
     <!--查询算法详情-->
-    <select id="selectDetailsById" parameterType="java.lang.String"
-            resultType="api.common.pojo.po.algorithm.AlgorithmPO">
+    <select id="selectDetailsById" parameterType="java.lang.String" resultType="api.common.pojo.po.algorithm.AlgorithmPO">
         select *
         select *
         from algorithm
         from algorithm
         where id = #{algorithmId,jdbcType=VARCHAR}
         where id = #{algorithmId,jdbcType=VARCHAR}