Browse Source

[Bug-8760]Resource file deletion conditions (#8765)

3.0.0/version-upgrade
hjli 2 years ago committed by GitHub
parent
commit
242b5dd5b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml

4
dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.xml

@ -145,7 +145,7 @@
and ptr.project_code=pd.project_code and pd.release_state = 1
join t_ds_task_definition td
on (ptr.pre_task_code=td.code and ptr.pre_task_version=td.version)
or (ptr.pre_task_code=td.code and ptr.pre_task_version=td.version)
or (ptr.post_task_code=td.code and ptr.post_task_version=td.version)
WHERE td.resource_ids is not null and td.resource_ids != ''
</select>
@ -157,7 +157,7 @@
and ptr.project_code=pd.project_code and pd.release_state = 1
join t_ds_task_definition td
on (ptr.pre_task_code=td.code and ptr.pre_task_version=td.version)
or (ptr.pre_task_code=td.code and ptr.pre_task_version=td.version)
or (ptr.post_task_code=td.code and ptr.post_task_version=td.version)
WHERE td.resource_ids is not null and td.resource_ids != '' and td.user_id = #{userId}
</select>

Loading…
Cancel
Save