Commit ff957188249d63f6c0db6439676fa7282d3ce125

Authored by 云中非
1 parent 94d67e4b

refactor: 恢复场景联动表名

@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 </resultMap> 18 </resultMap>
19 19
20 <select id="listBySceneId" resultMap="actionDTO"> 20 <select id="listBySceneId" resultMap="actionDTO">
21 - SELECT * FROM iotfs_do_action_ljl WHERE scene_linkage_id = #{sceneId} 21 + SELECT * FROM iotfs_do_action WHERE scene_linkage_id = #{sceneId}
22 </select> 22 </select>
23 23
24 </mapper> 24 </mapper>
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 </resultMap> 18 </resultMap>
19 19
20 <select id="listBySceneId" resultMap="conditionDTO"> 20 <select id="listBySceneId" resultMap="conditionDTO">
21 - SELECT * FROM iotfs_do_condition_ljl WHERE scene_linkage_id = #{sceneId} 21 + SELECT * FROM iotfs_do_condition WHERE scene_linkage_id = #{sceneId}
22 </select> 22 </select>
23 23
24 </mapper> 24 </mapper>
@@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
24 <select id="getScenePage" resultMap="sceneLinkageMap"> 24 <select id="getScenePage" resultMap="sceneLinkageMap">
25 SELECT 25 SELECT
26 <include refid="columns"/> 26 <include refid="columns"/>
27 - FROM iotfs_scene_linkage_ljl s 27 + FROM iotfs_scene_linkage s
28 LEFT JOIN iotfs_organization io ON io.id = s.organization_id 28 LEFT JOIN iotfs_organization io ON io.id = s.organization_id
29 <where> 29 <where>
30 <if test="queryMap.tenantId !=null and queryMap.tenantId !=''"> 30 <if test="queryMap.tenantId !=null and queryMap.tenantId !=''">
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 </resultMap> 18 </resultMap>
19 19
20 <select id="listBySceneId" resultMap="triggerDTO"> 20 <select id="listBySceneId" resultMap="triggerDTO">
21 - SELECT * FROM iotfs_trigger_ljl WHERE scene_linkage_id = #{sceneId} 21 + SELECT * FROM iotfs_trigger WHERE scene_linkage_id = #{sceneId}
22 </select> 22 </select>
23 23
24 </mapper> 24 </mapper>