Commit 63993149 authored by zhouleilei's avatar zhouleilei

瀚高数据库国产化适配

parent 992d22a0
...@@ -5,12 +5,12 @@ spring: ...@@ -5,12 +5,12 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 37.8.219.162:8848 server-addr: 37.8.219.227:28848
file-extension: yaml file-extension: yaml
group: signal group: signal
namespace: signal namespace: signal
username: nacos username: nacos
password: nacos password: Nacos@2025
main: main:
allow-circular-references: true allow-circular-references: true
feign: feign:
......
...@@ -2,7 +2,7 @@ utc.service.url=http://37.8.219.195:32000/utc ...@@ -2,7 +2,7 @@ utc.service.url=http://37.8.219.195:32000/utc
utc.dt.service.url=http://37.8.219.195:39002/utc-dt utc.dt.service.url=http://37.8.219.195:39002/utc-dt
utc.hisense.service.url=http://37.8.219.195:39003/utc-hisense utc.hisense.service.url=http://37.8.219.195:39003/utc-hisense
control.url=http://37.8.219.195:32001/web control.url=http://37.8.219.195:32001/web
ehualu.url=http://37.8.219.195:30015 ehualu.url=http://37.12.182.29:30015
inforsuite.license-path=D:\\license #inforsuite.license-path=D:\\license
#inforsuite.license-path=/license inforsuite.license-path=/license
#inforsuite.license-path=/data/license #inforsuite.license-path=/data/license
\ No newline at end of file
...@@ -2,12 +2,12 @@ spring: ...@@ -2,12 +2,12 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 37.8.219.162:8848 server-addr: 37.8.219.227:28848
file-extension: yaml file-extension: yaml
group: signal group: signal
namespace: signal namespace: signal
username: nacos username: nacos
password: nacos password: Nacos@2025
application: application:
# dubbo启动需要程序名称 # dubbo启动需要程序名称
name: utc-hisense name: utc-hisense
......
...@@ -119,7 +119,7 @@ public class RedisConfig extends CachingConfigurerSupport { ...@@ -119,7 +119,7 @@ public class RedisConfig extends CachingConfigurerSupport {
@Bean @Bean
public Jedis jedis() { public Jedis jedis() {
Jedis jedis = new Jedis(redisHost, redisPort); Jedis jedis = new Jedis(redisHost, redisPort);
jedis.auth("Wanji300552"); jedis.auth(password);
return jedis; return jedis;
} }
......
...@@ -7,12 +7,12 @@ spring: ...@@ -7,12 +7,12 @@ spring:
cloud: cloud:
nacos: nacos:
config: config:
server-addr: 37.8.219.162:8848 server-addr: 37.8.219.227:28848
file-extension: yaml file-extension: yaml
group: signal group: signal
namespace: signal namespace: signal
username: nacos username: nacos
password: nacos password: Nacos@2025
inforsuite: inforsuite:
license-path: D:\\济南\\国产化迁移\\中创中间件inforsuite license-path: D:\\license
\ No newline at end of file \ No newline at end of file
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
<select id="selectLightsCodeByLaneId" resultType="java.lang.String"> <select id="selectLightsCodeByLaneId" resultType="java.lang.String">
select t2.lights_no select t2.lights_no
from t_base_cross_lane_lights t1 from t_base_cross_lane_lights t1
join t_base_cross_lights t2 join t_base_cross_lights t2 on t1.lights_id = t2.id
join t_base_lane_info t3 join t_base_lane_info t3
on t1.lane_id = t3.id and t1.lights_id = t2.id ON t1.lane_id = t3.id
where t3.id = #{laneId} and t3.type = 2 where t3.id = #{laneId} and t3.type = 2
</select> </select>
......
...@@ -133,12 +133,9 @@ ...@@ -133,12 +133,9 @@
SELECT t1.cross_id, t1.start_time, t1.end_time, t1.scheme_id, t2.name as planName, t3.schedules_id, SELECT t1.cross_id, t1.start_time, t1.end_time, t1.scheme_id, t2.name as planName, t3.schedules_id,
t3.week, t3.special_date, t4.name as scheduleName t3.week, t3.special_date, t4.name as scheduleName
FROM t_base_cross_section t1 FROM t_base_cross_section t1
JOIN t_base_cross_plan t2 JOIN t_base_cross_plan t2 ON t1.plan_id = t2.id
JOIN t_base_cross_schedules_plan t3 JOIN t_base_cross_schedules_plan t3 ON t2.id = t3.plan_id
JOIN t_base_cross_schedules t4 JOIN t_base_cross_schedules t4 ON t3.schedules_id = t4.id
ON t1.plan_id = t2.id
AND t2.id = t3.plan_id
AND t3.schedules_id = t4.id
WHERE t1.cross_id = #{crossId} WHERE t1.cross_id = #{crossId}
AND t4.status = 1 AND t4.status = 1
</select> </select>
......
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