提交 37740220 编写于 作者: zhouweidong's avatar zhouweidong

修复切面

上级 aef0b8b0
......@@ -49,11 +49,11 @@ public class DEFieldDefaultValueAspect
* @param point
* @throws Exception
*/
@Before(value = "execution(* com.cntmtech.support.core.*.service.*.update(..))")
@Before(value = "execution(* ${pub.getPKGCodeName()}.core.*.service.*.update(..))")
public void BeforeUpdate(JoinPoint point) throws Exception {
fillDEFieldDefaultValue(point);
}
@Before(value = "execution(* com.cntmtech.support.core.*.service.*.updateBatch(..))")
@Before(value = "execution(* ${pub.getPKGCodeName()}.core.*.service.*.updateBatch(..))")
public void BeforeUpdateBatch(JoinPoint point) throws Exception {
fillDEFieldDefaultValue(point);
}
......@@ -63,11 +63,11 @@ public class DEFieldDefaultValueAspect
* @param point
* @throws Exception
*/
@Before(value = "execution(* com.cntmtech.support.core.*.service.*.save(..))")
@Before(value = "execution(* ${pub.getPKGCodeName()}.core.*.service.*.save(..))")
public void BeforeSave(JoinPoint point) throws Exception {
fillDEFieldDefaultValue(point);
}
@Before(value = "execution(* com.cntmtech.support.core.*.service.*.saveBatch(..))")
@Before(value = "execution(* ${pub.getPKGCodeName()}.core.*.service.*.saveBatch(..))")
public void BeforeSaveBatch(JoinPoint point) throws Exception {
fillDEFieldDefaultValue(point);
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册