Compare commits

...

22 Commits

Author SHA1 Message Date
d43effe612 Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-14 16:45:10 +08:00
a10b16a0ff Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-14 13:35:50 +08:00
a277fe22a6 Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-13 16:34:30 +08:00
836e42625e Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-13 16:29:49 +08:00
69c01bc62b Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-13 15:30:50 +08:00
bd62efca3f Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-13 15:07:15 +08:00
ee019d3c0f Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-09 16:19:08 +08:00
80fa2de819 Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-01 11:33:31 +08:00
94b15ef412 Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-04-01 09:14:06 +08:00
4e28782d59 Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-31 14:33:13 +08:00
615eac3bfe Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-31 11:14:44 +08:00
e24920acf1 Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-31 11:11:50 +08:00
1c562c134c Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-27 13:29:42 +08:00
c6c38332d9 Merge branches 'master' and 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-27 10:06:41 +08:00
f51b27dc7c Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-27 09:33:59 +08:00
a6c6cf2427 Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-27 09:23:04 +08:00
373dc390fa Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-26 23:37:03 +08:00
2ed1129fe4 Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-20 16:06:00 +08:00
ce4c23eff8 save 2026-03-17 09:19:00 +08:00
9f4ef1ab94 save 2026-03-17 09:18:50 +08:00
c800811bed Merge branch 'master' of http://101.43.238.71:3000/zouju/auto-solution 2026-03-17 09:18:05 +08:00
235fd9b6e1 更新数据格式 2026-03-16 11:57:20 +08:00
2 changed files with 15 additions and 8 deletions

View File

@@ -6,11 +6,9 @@ spring:
druid:
# 主库数据源
master:
# url: jdbc:mysql://192.168.166.71:3306/behaviortreedb?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://localhost:3306/autosolution_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
url: jdbc:mysql://127.0.0.1:3306/autosolution_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
# password: 123456
password: 1234
password: 123456
# 从库数据源
slave:
# 从数据源开关/默认关闭

View File

@@ -82,7 +82,7 @@
</resultMap>
<select id="findComponentsByPlatformId" resultMap="VPlatformComponentMap">
SELECT * FROM platform_component
WHERE platform_id=#{platformId}
WHERE platform_id=#{platformId} AND platform_component.type = "comm"
</select>
<resultMap id="VPBasicPlatformMap" type="com.solution.rule.domain.BasicPlatform">
@@ -106,9 +106,18 @@
</resultMap>
<select id="findPlatformComponents" resultMap="VPlatformMap"
parameterType="java.lang.Integer">
SELECT DISTINCT
p.*,
pc.*
<!-- SELECT DISTINCT-->
<!-- p.*,-->
<!-- pc.*-->
<!-- FROM platform p-->
<!-- LEFT JOIN platform_component pc ON p.id = pc.platform_id-->
<!-- WHERE pc.type = 'comm'-->
<!-- AND p.scenario_id = #{scenarioId}-->
<!-- ORDER BY p.name,pc.name-->
SELECT
p.id,
p.name,
p.description
FROM platform p
LEFT JOIN platform_component pc ON p.id = pc.platform_id
WHERE pc.type = 'comm'