添加字段和表

master
Cui YongXing 2024-09-02 19:36:26 +08:00
parent 89fc58a0e7
commit b8e70c16eb
1 changed files with 4 additions and 4 deletions

View File

@ -7,16 +7,16 @@
<select id="selectByNodeId" resultType="com.muyu.common.domian.TaskInput">
SELECT DISTINCT table_name,table_as_name
FROM etl_task_input
where node_id =${nodeId}
where node_id = #{nodeId}
</select>
<select id="selectByTaskId" resultType="com.muyu.common.domian.TaskInput">
SELECT DISTINCT e.table_name,e.table_as_name
FROM etl_task_input e left join table_info t on e.database_id=t.id
where task_id =${taskId}
where task_id =#{taskId}
</select>
<select id="selectByBasicId" resultType="java.lang.Long">
SELECT DISTINCT database_id
SELECT DISTINCT basic_id
FROM etl_task_input e left join table_info t on e.database_id=t.id
where task_id =${taskId}
where task_id =#{taskId}
</select>
</mapper>