allen1128 commented on a change in pull request #5931:
URL: https://github.com/apache/dolphinscheduler/pull/5931#discussion_r683535185



##########
File path: 
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ProcessDefinitionMapper.java
##########
@@ -189,4 +189,12 @@ ProcessDefinition queryByDefineName(@Param("projectCode") 
Long projectCode,
      * @return definition id
      */
     Integer 
queryHasAssociatedDefinitionByIdAndVersion(@Param("processDefinitionId") int 
processDefinitionId, @Param("version") long version);
+
+    /**
+     *
+     * @param projectCode projectCode
+     * @param name name
+     * @return if exist return true else return null
+     */
+    Boolean existDefByProjectCodeAndDefineName(@Param("projectCode") Long 
projectCode, @Param("processDefinitionName") String name);

Review comment:
       fixed.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to