|
|
|
@ -79,8 +79,8 @@ public class PcnRepositoryAspect {
|
|
|
|
|
Method method = ((MethodSignature)joinPoint.getSignature()).getMethod();
|
|
|
|
|
if (args.length == 4) {
|
|
|
|
|
if (args[2].getClass().isArray()) {
|
|
|
|
|
method.invoke(joinPoint.getTarget(), args[0], args[1], new String[]{"modifyDatetime", "systemSyncStatus"},
|
|
|
|
|
new Object[]{TimeTool.getNowTime(true), CommonEnumUtil.FALSE});
|
|
|
|
|
method.invoke(joinPoint.getTarget(), args[0], args[1], new String[]{ "systemSyncStatus"},
|
|
|
|
|
new Object[]{CommonEnumUtil.FALSE});
|
|
|
|
|
} else {
|
|
|
|
|
method.invoke(joinPoint.getTarget(), args[0], args[1], "systemSyncStatus", CommonEnumUtil.FALSE);
|
|
|
|
|
}
|
|
|
|
@ -104,7 +104,7 @@ public class PcnRepositoryAspect {
|
|
|
|
|
method.invoke(joinPoint.getTarget(), args[0], new String[]{"systemSyncStatus"},
|
|
|
|
|
new Object[]{ CommonEnumUtil.FALSE});
|
|
|
|
|
} else {
|
|
|
|
|
method.invoke(joinPoint.getTarget(), TimeTool.getNowTime(true), args[2]);
|
|
|
|
|
// method.invoke(joinPoint.getTarget(), TimeTool.getNowTime(true), args[2]);
|
|
|
|
|
method.invoke(joinPoint.getTarget(), "systemSyncStatus", CommonEnumUtil.FALSE, args[2]);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -116,6 +116,6 @@ public class PcnRepositoryAspect {
|
|
|
|
|
|
|
|
|
|
private void updateBeanSync(BaseBean bean) {
|
|
|
|
|
bean.setSystemSyncStatus(CommonEnumUtil.FALSE);
|
|
|
|
|
bean.setModifyDatetime(TimeTool.getNowTime(true));
|
|
|
|
|
//bean.setModifyDatetime(TimeTool.getNowTime(true));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|