|
@ -42,8 +42,7 @@ public class AdminGlobalDataSourceAspect { |
|
|
|
|
|
|
|
|
private static final String DATASOURCE_NOT_FOUND = "未找到数据源"; |
|
|
private static final String DATASOURCE_NOT_FOUND = "未找到数据源"; |
|
|
|
|
|
|
|
|
@Pointcut("(execution(* com.acupuncture.web.controller..*.*(..))) && !@annotation(com.acupuncture.common.annotation.DataSource)" + |
|
|
@Pointcut("(execution(* com.acupuncture.web.controller..*.*(..))) && !@annotation(com.acupuncture.common.annotation.DataSource)") |
|
|
"|| @within(com.acupuncture.web.task.*)") |
|
|
|
|
|
public void dsPointCut() { |
|
|
public void dsPointCut() { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|