enhancement: #I1Z96F liteflow系统级别增加切面的支持

This commit is contained in:
bryan31
2020-10-22 21:33:26 +08:00
parent f47f6a61b0
commit 89400aa74d
4 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package com.yomahub.flowtest.aspect;
import com.yomahub.liteflow.aop.ICmpAroundAspect;
import com.yomahub.liteflow.entity.data.Slot;
import org.springframework.stereotype.Component;
@Component
public class ComponentAspect implements ICmpAroundAspect {
@Override
public void beforeProcess(Slot slot) {
System.out.println("before process");
}
@Override
public void afterProcess(Slot slot) {
System.out.println("after process");
}
}