diff --git a/mallinkService/src/main/resources/mapper/WxFlowConfigMapper.xml b/mallinkService/src/main/resources/mapper/WxFlowConfigMapper.xml
index ca9efb0e2..a97d6b1c7 100644
--- a/mallinkService/src/main/resources/mapper/WxFlowConfigMapper.xml
+++ b/mallinkService/src/main/resources/mapper/WxFlowConfigMapper.xml
@@ -26,9 +26,12 @@
and `parent_tenant_id` = #{parentTenantId}
+
+ and `parent_id` = #{parentId}
+
and `id` = #{id}
and `model_id` = #{modelId}
- and `name` like concat('%', #{name},'%')
+ and `name` like concat('%', #{name},'%')
order by ${sortColumns}
order by sort asc