|
|
@@ -43,7 +43,7 @@ public class DaoAspect {
|
|
|
public void daoCreate() {
|
|
|
}
|
|
|
|
|
|
-// @Around("daoUpdate()")
|
|
|
+ @Around("daoUpdate()")
|
|
|
public Object doAroundUpdate(ProceedingJoinPoint point) throws Throwable {
|
|
|
/*ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
|
|
|
if (attributes == null) {
|
|
|
@@ -67,7 +67,7 @@ public class DaoAspect {
|
|
|
return object;
|
|
|
}
|
|
|
|
|
|
-// @Around("daoCreate()")
|
|
|
+ @Around("daoCreate()")
|
|
|
public Object doAroundCreate(ProceedingJoinPoint point) throws Throwable {
|
|
|
/*ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
|
|
|
if (attributes == null) {
|