@@ -19,6 +19,5 @@ public class SimulationResourceServerApplication {
public static void main(String[] args) {
SpringApplication.run(SimulationResourceServerApplication.class, args);
- System.out.println("-------------启动成功----------------");
}
@@ -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:
+ file-extension: yaml
+ group: mlx
@@ -5,16 +5,4 @@ spring:
active: dev
jackson:
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
@@ -45,8 +45,7 @@
</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 *
from algorithm
where id = #{algorithmId,jdbcType=VARCHAR}