Commit 245f6ebe by huangfusuper

批量接口查询

parent f6c90c68
...@@ -203,6 +203,21 @@ ...@@ -203,6 +203,21 @@
</select> </select>
<select id="findByFlowNameAndTypeAndWId" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from run_recording
<if test="flowStatusCoreDtos != null">
(
<foreach collection="flowStatusCoreDtos.flowEntityCoreDtos" item="flowEntityCoreDto" separator=" or " open="(" close=")">
flow_name = #{flowEntityCoreDto.flowName} and schedule_type = #{scheduleType}
</foreach>
)
and workspace_id = #{flowStatusCoreDtos.workspaceId}
</if>
</select>
<select id="findByRunIdAndFlowName" resultMap="BaseResultMap"> <select id="findByRunIdAndFlowName" resultMap="BaseResultMap">
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
......
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