caishunfeng commented on a change in pull request #7161:
URL: https://github.com/apache/dolphinscheduler/pull/7161#discussion_r762370700



##########
File path: 
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/ScheduleMapper.java
##########
@@ -67,6 +72,12 @@
      * @param processDefinitionCode processDefinitionCode
      * @return schedule list
      */
+    @Cacheable(sync = true)
     List<Schedule> 
queryReleaseSchedulerListByProcessDefinitionCode(@Param("processDefinitionCode")
 long processDefinitionCode);
 
+    @CacheEvict(key = "#entity.processDefinitionCode")

Review comment:
       SpringEL is better, but now the `CacheEvictAspect.java ` can not support 
it. So can you try to solve SpringEL support?




-- 
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