Commit ff957188249d63f6c0db6439676fa7282d3ce125

Authored by 云中非
1 parent 94d67e4b

refactor: 恢复场景联动表名

... ... @@ -18,7 +18,7 @@
18 18 </resultMap>
19 19
20 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 22 </select>
23 23
24 24 </mapper>
... ...
... ... @@ -18,7 +18,7 @@
18 18 </resultMap>
19 19
20 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 22 </select>
23 23
24 24 </mapper>
... ...
... ... @@ -24,7 +24,7 @@
24 24 <select id="getScenePage" resultMap="sceneLinkageMap">
25 25 SELECT
26 26 <include refid="columns"/>
27   - FROM iotfs_scene_linkage_ljl s
  27 + FROM iotfs_scene_linkage s
28 28 LEFT JOIN iotfs_organization io ON io.id = s.organization_id
29 29 <where>
30 30 <if test="queryMap.tenantId !=null and queryMap.tenantId !=''">
... ...
... ... @@ -18,7 +18,7 @@
18 18 </resultMap>
19 19
20 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 22 </select>
23 23
24 24 </mapper>
... ...